delete new lines at end of files