Modified for CSV Output.