Fixed case where there's no newline in the file.