@Override
  public @Nullable PsiFileSystemItem findRoot(@NotNull Project project, @NotNull VirtualFile file) {
    VirtualFile root = file;
    VirtualFile parent;
    while ((parent = root.getParent()) != null) {
      root = parent;
    }
    return getPsiFileSystemItem(project, root);
  }
@Override
  public @Nullable PsiFileSystemItem findRoot(@NotNull Project project, @NotNull VirtualFile file)