Changed output file to .csv