Added missing newline when outputting to file