code: def _get_code_from_file(run_name, fname):
      # Check for a compiled file first
      from pkgutil import read_code
  
      decoded_path = os.path.abspath(os.fsdecode(fname))
      with io.open_code(decoded_path) as f:
          code = read_code(f)
      if code is None:
          # That didn't work, so try it as normal source code
          with io.open_code(decoded_path) as f:
              code = compile(f.read(), fname, "exec")
      return code, fname
  
imports: import sys
  import importlib.machinery
  import importlib.util
  import io
  import os
label_desc: Use image node_id 7 for calling a global function with example usage: _get_code_from_file(run_name, fname) and returns: code,  fname