Delete the last sentence of the file