clean up the rest of the file