Remove unnecessary files and backup.