The last line of the file may or may not have a newline at its end.