public FileMetadataModel PopulateExpectedFileDetailsDictionary(CsvFileReader csvReader, int rowNumber) { var expectedDetails = new FileMetadataModel { FileName = csvReader.GetStringValue(rowNumber, FileNameColumnNumberInCsvFile), FilePath = csvReader.GetStringValue(rowNumber, FilePathColumnNumberInCsvFile), CreatedDate = csvReader.GetDateTimeValue(rowNumber, CreatedDateColumnNumberInCsvFile), LastAccessedDate = csvReader.GetDateTimeValue(rowNumber, LastAccessedDateColumnNumberInCsvFile), LastModifiedDate = csvReader.GetDateTimeValue(rowNumber, LastModifiedColumnNumberInCsvFile), FileTypeId = csvReader.GetIntValue(rowNumber, FileTypeColumnNumberInCsvFile), FileExtension = csvReader.GetStringValue(rowNumber, FileExtensionColumnNumberInCsvFile), FileSize = long.Parse(csvReader.GetStringValue(rowNumber, FileSizeColumnNumberInCsvFile)) }; return(expectedDetails); }