Cleaning files after migrating to remote packages