def _open_file_config(cfg_path):
    """Open config file from local disk."""
    try:
        with open(cfg_path, encoding="utf-8") as filehandler:
            device_cfg = filehandler.read()
    except IOError:
        return False
    return device_cfg.strip()