private static @NotNull Document loadDocument(String docName) {
    Document fromFile = loadContent(docName, getDocumentContentFile(docName));
    if (fromFile != null && !fromFile.getVersion().isUnknown()) {
      return fromFile;
    }
    return loadContent(docName, getBundledResourcePath(docName));
  }
private static @NotNull Document loadDocument(String docName)