@Nullable
  public Element load(@NotNull String name, boolean refresh) throws IOException, JDOMException {
    assert nameToDir.containsKey(name) : name;

    VirtualFile file = getFile(name, refresh);
    if (file == null) {
      return null;
    }

    try (InputStream inputStream = file.getInputStream()) {
      return JDOMUtil.load(inputStream);
    }
  }
@Nullable
  public Element load(@NotNull String name, boolean refresh)