docstr: Load file object.
docstr_tok: ["Load","file","object","."]
code: def fload(self):
      """Load file object."""
      # read data and parse into blocks
      if hasattr(self, "fobj") and self.fobj is not None:
          self.fobj.close()
      if hasattr(self.src, "read"):
          # It seems to be a file or a file-like object
          self.fobj = self.src
      else:
          # Assume it's a string or something that can be converted to one
          self.fobj = openpy.open(self.fname)
  
imports: import os
  import re
  import shlex
  import sys
  import pygments
  from pathlib import Path
  from IPython.utils.text import marquee
  from IPython.utils import openpy
  from IPython.utils import py3compat
label_desc: Use image node_id 2 for calling the Demo obj's underlying member method code with example usage: obj.fload() without return types