newline at end of file and made null lowercase