code: def get_backtest_config_fromfile(path: str) -> dict:
      backtest_config = parse_backtest_config(path)
  
      exchange_config_default = {
          "open_cost": 0.0005,
          "close_cost": 0.0015,
          "min_cost": 5.0,
          "trade_unit": 100.0,
          "cash_limit": None,
      }
      backtest_config["exchange"] = merge_a_into_b(
          a=backtest_config["exchange"], b=exchange_config_default
      )
      backtest_config["exchange"] = _convert_all_list_to_tuple(
          backtest_config["exchange"]
      )
  
      backtest_config_default = {
          "debug_single_stock": None,
          "debug_single_day": None,
          "concurrency": -1,
          "multiplier": 1.0,
          "output_dir": "outputs_backtest/",
          "generate_report": False,
          "data_granularity": "1min",
      }
      backtest_config = merge_a_into_b(
          a=backtest_config, b=backtest_config_default
      )
  
      return backtest_config
  
file_path: qlib/qlib/rl/contrib/naive_config_parser.py
imports: import os
  import platform
  import shutil
  import sys
  import tempfile
  from importlib import import_module
  import yaml
label_desc: Use image node_id 5 for calling a global function with example usage: get_backtest_config_fromfile(path) and returns: backtest_config