remove the unnecessary files.