Adding newline to output files