delete unnecessary files in remote