'Load a configuration file and set its refresh values.'

def load_config(self, cfg_file, fallback_cfg_prefix='pipeline/data/'):

    if os.path.exists(cfg_file):
        self.cfg_loc = cfg_file
    else:
        self.cfg_loc = self.conf.find_file(cfg_file)
    if ((not self.cfg_loc) and (fallback_cfg_prefix is not None)):
        LOG.debug('No    pipeline    definitions    configuration    file    found!    Using    default    config.')
        self.cfg_loc = pkg_resources.resource_filename(__name__, (fallback_cfg_prefix + cfg_file))
    with open(self.cfg_loc) as fap:
        data = fap.read()
    conf = yaml.safe_load(data)
    self.cfg_mtime = self.get_cfg_mtime()
    self.cfg_hash = self.get_cfg_hash()
    LOG.info('Config    file:    %s', conf)
    return conf
