first pass at CSV file output