@Nullable
  private static String getRelativePathIfSuccessor(@NotNull String ancestor, @NotNull String path) {
    return FileUtil.isAncestor(ancestor, path, true) ? FileUtil.getRelativePath(ancestor, path, '/') : null;
  }
@Nullable
  private static String getRelativePathIfSuccessor(@NotNull String ancestor, @NotNull String path)