private @NotNull @Nls String getTextFromFilePaths(@NotNull Collection<? extends FilePath> files,
                                                    @Nls @NotNull String categoryText, boolean full) {
    return getText(files, categoryText, FILE_PATH_BY_PATH_COMPARATOR,
                   file -> StringUtil.shortenPathWithEllipsis(path2Text(file, true), FILTER_LABEL_LENGTH), full);
  }
private @NotNull @Nls String getTextFromFilePaths(@NotNull Collection<? extends FilePath> files,
                                                    @Nls @NotNull String categoryText, boolean full)