public static @NotNull Element load(@NotNull Path file) throws JDOMException, IOException {
    try {
      return loadUsingStaX(Files.newInputStream(file));
    }
    catch (ClosedFileSystemException e) {
      throw new IOException("Cannot read file from closed file system: " + file, e);
    }
  }
public static @NotNull Element load(@NotNull Path file)