delete the unnecessary files.