remove tabs and add line feed to the end of the files