@Override
        public void run(@NotNull ProgressIndicator indicator) {
          for (ShelvedChangeList list : schemeManager.getAllSchemes()) {
            if (!list.isValid()) continue;
            try {
              Path newTargetDirectory = suggestPatchName(myProject, list.getDescription(), toFile, "").toPath();
              ShelvedChangeList migratedList = createChangelistCopyWithChanges(list, newTargetDirectory);
              newSchemeManager.addScheme(migratedList, false);
              indicator.checkCanceled();
            }
            catch (IOException e) {
              LOG.error("Can't copy patch file: " + list.getPath());
            }
          }
          clearShelvedLists(schemeManager.getAllSchemes(), false);
        }
@Override
        public void run(@NotNull ProgressIndicator indicator)