delete unnecessary files and code.