Add files before deleting local.