protected void ProcessDataFile(string fileName, IReadOnlyCollection <string> exportFileData) { var rowCount = exportFileData.Count; var exportedData = ParseExportedData(exportFileData); try { var shipmentFileExportRows = exportedData.ToShipmentExportedRows(ExportParameterParser); _exportContext.ExportData(shipmentFileExportRows).UpdateAcumatica(); _messagesProvider.Log(string.Format(InformationResources.INFO_EXPORT_FILE_PROCESSED, fileName, rowCount)); } finally { ClearFile(fileName, exportFileData); } }