public void GenerateStats() { List <string> filePaths = _directory.GetFilePathsInDirectory("./Data/csse_covid_19_data/csse_covid_19_daily_reports"); foreach (string path in filePaths) { List <WorldData> data = _excel.ReadExcel(path); _stats.Data.AddRange(data); } }