deletes unnessesary file.