def parse_config_file
      unless file? config_file
        logger.debug "Configuration file not found: #{config_file}"
        return {}
      end

      logger.debug "Reading configuration file: #{config_file}."
      symbolise YAML.load_file(config_file)
    rescue StandardError => error
      raise CONFIG_FILE_ERROR.new(config_file, error)
    end
def parse_config_file
      unless file? config_file
        logger.debug "Configuration file not found: #{config_file}"
        return {}
      end

      logger.debug "Reading configuration file: #{config_file}."
      symbolise YAML.load_file(config_file)
    rescue StandardError => error
      raise CONFIG_FILE_ERROR.new(config_file, error)
    end
Parses and returns data from config_file if it exists. Returns {}
 otherwise.