Remove the new line at the end of the file