void Write() { foreach (SessionData data in dataBuffer) { File.AppendAllText(dataPath, data.CSV()); } }