Removes unwanted file.