remove the unnecessary files