public override void WriteTicket(Ticket ticket, string fileName) { CSVFileWriter fw = new CSVFileWriter(); TicketList.Add(ticket); var dataline = ParseContext.DoParseForData(ticket); fw.writeToFile(dataline, fileName); }