private List <List <string> > ReadCSVMinusBlankLastLine(string filename) { if (!File.Exists(filename)) { Debug.LogError("Love/Hate: File not found: " + filename); return(new List <List <string> >()); } var csv = CSVUtility.ReadCSVFile(filename, prefs.encoding); if (string.IsNullOrEmpty(csv[csv.Count - 1][0])) { csv.RemoveAt(csv.Count - 1); } return(csv); }