Output iin CSV file