Converting output file to comma delimited