ends all file with new line