public void UpdateLocalFileStatus(string fileName, string CRC, FileStatusType status) { Console.WriteLine("FolderStatus - UpdateLocalFileStatus"); DeleteFileInLocalStatus(fileName); _folderState.LocalFile(new FolderFileState() .FileName(fileName) .Hash(CRC) .CurrentStatus(status)); Console.WriteLine("FolderStatus - UpdateLocalFileStatus - before SaveStatus"); SaveStatus(); Console.WriteLine("FolderStatus - UpdateLocalFileStatus - after SaveStatus"); }