add new lines at end of file