switch uninstall method to specific file