Remove blank lines at end of file