Update output file to csv.