Deletes unwanted file.