public static void CsvDataFileCompare(string file)
        {
            CSVHelper read           = new CSVHelper();
            var       actualErrors   = read.Main(Folder, PageHelper.GetLatestFile(Folder, "*.csv"));
            string    stage2Results  = $"{AppDomain.CurrentDomain.BaseDirectory}{file}";
            var       expectedErrors = read.ExpectedData(stage2Results);

            var index = 0;

            foreach (var expectedError in expectedErrors)
            {
                var actualError = actualErrors.Skip(index).First();
                Assert.AreEqual(expectedError.LineNo, actualError.LineNo);
                Assert.AreEqual(expectedError.UlnNo, actualError.UlnNo);
                Assert.AreEqual(expectedError.ErrorMsg, actualError.ErrorMsg);

                index++;
            }
        }