public LatencyConversionModel GetReportLatencyLog(string reportName) { try { if (string.IsNullOrEmpty(reportName)) { return(new LatencyConversionModel()); } var logContent = _fileSystemController.ReadFileContents($"{LogsFolder}\\{ReportTypes.LatencyConversionTable}\\{reportName}.csv"); var latencyConversionTable = _dataConverter.ConvertCsvToLatencyConversionModel(logContent); return(latencyConversionTable); } catch (Exception e) { MessageBox.Show($@"Failed latency report: {reportName}. InnerMessage: {e.Message}"); throw; } }