public static void processAllFileNames(@NotNull Processor<? super String> processor,
                                         @NotNull GlobalSearchScope scope,
                                         @Nullable IdFilter filter) {
    CancellationChecker cancellationChecker = new CancellationChecker();
    processAllFileNameCharSequences((CharSequence s) -> {
      cancellationChecker.checkCancelled();
      return processor.process(s.toString());
    }, scope, filter);
  }
public static void processAllFileNames(@NotNull Processor<? super String> processor,
                                         @NotNull GlobalSearchScope scope,
                                         @Nullable IdFilter filter)