code: def __init__(self, config_path):
      module_file_path = os.path.dirname(os.path.abspath(__file__))
      self.default_config_path = os.path.join(
          module_file_path, "../config_default.yaml"
      )
      self.current_config_path = os.path.join(
          os.getcwd(), "config.yaml"
      )
  
      if config_path and os.path.exists(config_path):
          self.config = self.load_config(config_path)
          # else:
          #     logger.info("Supplied config file does not exist. " +
          #                  os.path.join(os.getcwd(), config_path))
          #     logger.info("Creating new config file at " +
          #                  self.current_config_path)
          #     self.config = self.load_default_config()
      else:
          if config_path and not os.path.exists(config_path):
              logger.info(
                  ">> Supplied config file does not exist. "
                  + os.path.join(os.getcwd(), config_path)
              )
  
          if os.path.exists(self.current_config_path):
              logger.info(
                  ">> Found config.yaml file found in current directory "
                  + self.current_config_path
              )
              self.config = self.load_config(self.current_config_path)
          else:
              logger.info(
                  ">> Creating new config file at "
                  + self.current_config_path
              )
              shutil.copyfile(
                  self.default_config_path, self.current_config_path
              )
              self.config = self.load_default_config()
  
file_path: neuralqa/neuralqa/utils/config_utils.py
imports: import yaml
  import os
  import logging
  import shutil
label_desc: Use image node_id 1 to create a new ConfigParser object  with example: obj = ConfigParser(config_path)