Added a newline character on print to file and print to console.