@Override
  public @Nullable FileContent createFile(@Nullable Project project, @NotNull VirtualFile file) {
    if (file.isDirectory()) return null;
    return (FileContent)create(project, file);
  }
@Override
  public @Nullable FileContent createFile(@Nullable Project project, @NotNull VirtualFile file)