private @Nullable ChangesBrowserNode<?> findNodeForFile(@NotNull VirtualFile file) {
      FilePath filePath = VcsUtil.getFilePath(file);
      DefaultMutableTreeNode root = (DefaultMutableTreeNode)myView.getModel().getRoot();
      return (ChangesBrowserNode<?>)TreeUtil.findNode(root, node -> {
        FilePath nodeFilePath = VcsTreeModelData.mapUserObjectToFilePath(node.getUserObject());
        return Objects.equals(filePath, nodeFilePath);
      });
    }
private @Nullable ChangesBrowserNode<?> findNodeForFile(@NotNull VirtualFile file)