def __init__(self):
        self.__logger = logging.getLogger('CFG')
        with open(PATH_TO_CFG_FILE) as file:
            self.__logger.debug('Reading configuration.')
            cfg = json.load(file, object_hook=as_bytes)
        if 'instruments' not in cfg.keys():
            self.__logger.critical('Unable to load instruments from configuration file.')
            sys.exit(-1)
        self.instruments = cfg['instruments']