Remove extra one line at the end of the file