code: def _deserialize_single_file(js):
      uploaded_file = Bunch()
      for attribute in ["name", "type", "size", "content"]:
          uploaded_file[attribute] = js[attribute]
      uploaded_file["last_modified"] = dt.datetime.fromtimestamp(
          js["last_modified"] / 1000, tz=dt.timezone.utc
      )
      return uploaded_file
  
file_path: catboost/contrib/python/ipywidgets/py3/ipywidgets/widgets/widget_upload.py
imports: import datetime
  from traitlets import observe, default, Unicode, Dict, Int, Bool, Bytes, CaselessStrEnum
  from .widget_description import DescriptionWidget
  from .valuewidget import ValueWidget
  from .widget_core import CoreWidget
  from .widget_button import ButtonStyle
  from .widget import register, widget_serialization
  from .trait_types import InstanceDict, TypedTuple
  from traitlets import Bunch
label_desc: Use image node_id 1 for calling a global function with example usage: _deserialize_single_file(js) and returns: uploaded_file