private MetaFile ReadMetaFile(FileInfo archiveFile) { FileInfo filePath = MetaFilePath(archiveFile); if (!filePath.Exists) { return(null); } string text = File.ReadAllText(filePath.FullName); if (string.IsNullOrWhiteSpace(text)) { return(null); } return(MetaFile.FromJson(text, _logger)); }