private static String getPaths(VirtualFile[] files) {
    StringBuilder buf = new StringBuilder(files.length * 64);
    for (VirtualFile file : files) {
      if (!buf.isEmpty()) buf.append('\n');
      buf.append(file.getPresentableUrl());
    }
    return buf.toString();
  }
private static String getPaths(VirtualFile[] files)