@Override
  public @Nullable DocumentContent createDocument(@Nullable Project project, final @NotNull VirtualFile file) {
    return ObjectUtils.tryCast(createContentFromFile(project, file), DocumentContent.class);
  }
@Override
  public @Nullable DocumentContent createDocument(@Nullable Project project, final @NotNull VirtualFile file)