code: def _show_file_with_state(
      obj: UIElement,
      state: State,
      new: BrowserTarget,
      controller: BrowserLike,
  ) -> None:
      """ """
      filename = save(obj, state=state)
      controller.open("file://" + filename, new=NEW_PARAM[new])
  
file_path: bokeh/src/bokeh/io/showing.py
imports: from __future__ import annotations
  import logging
  from typing import TYPE_CHECKING, Any
  from ..models.ui import UIElement
  from ..util.browser import NEW_PARAM, get_browser_controller
  from .notebook import DEFAULT_JUPYTER_URL, ProxyUrlFunc, run_notebook_hook
  from .saving import save
  from .state import curstate
label_desc: Use image node_id 2 for calling a global function with example usage: _show_file_with_state(obj, state, new, controller) without return types