@NotNull
  private static String revertRelativePath(@NotNull String path) {
    if (path.equals(".")) {
      return path;
    }
    else {
      StringBuilder sb = new StringBuilder();
      sb.append("..");
      int count = normalize(path).split("/").length;
      while (--count > 0) {
        sb.append("/..");
      }
      return sb.toString();
    }
  }
@NotNull
  private static String revertRelativePath(@NotNull String path)