String (@NotNull FilePath path) { if (path.isDirectory()) return path.getPresentableUrl(); FilePath parent = path.getParentPath(); return getContentTitle(path.getName(), path.getPresentableUrl(), parent != null ? parent.getPresentableUrl() : null); }