remove stuff left on file