removes file for line ending