Ending the last line in a file with an newline character is generally regarded as best practice.