the last character of the file needs to be a newline