Removes end of file line.