code: def load_instance(file_path):
      """
      load a pickle file
          Parameter
             file_path : string / pathlib.Path()
                  path of file to be loaded
          :return
              An instance loaded from file
      """
      file_path = pathlib.Path(file_path)
      if not file_path.exists():
          raise ValueError("Cannot find file {}".format(file_path))
      with file_path.open("rb") as fr:
          instance = pickle.load(fr)
      return instance
  
file_path: qlib/qlib/contrib/online/utils.py
imports: import pathlib
  import pickle
  import yaml
  import pandas
  from ...data import D
  from ...config import C
  from ...log import get_module_logger
  from ...utils import get_next_trading_date
  from ...backtest.exchange import Exchange
label_desc: Use image node_id 1 for calling a global function with example usage: load_instance(file_path) and returns: instance