improved CSV file formatting