//the "Energy" column for the "TOU" file type public static DataTable TOUMedianDataTable() { DataTable dt = CSVFileHelper.CreateDataTable(); DirectoryInfo dir = new DirectoryInfo(csvPath); var files = dir.GetFiles("TOU_*.csv"); foreach (var item in files) { CSVFileHelper.ReadCSVFile(item.FullName, "Date/Time", "Energy", ref dt); } return(dt); }