def METHOD_NAME(self):
    """Read yaml config file and create config for Nexus
    TODO: check for config file compliance, error handle it
    beyond what we have below.
    """
    with open(self.configFile, "r") as ymlfile:
        cfg = yaml.safe_load(ymlfile)
    try:
        if "settings" in cfg:
            self.settings = cfg["settings"]
        else:
            self.settings = {}
            self.settings["use_watcher"] = None
    except TypeError:
        if cfg is None:
            logger.error("Error: The config file is empty")
    if type(cfg) is not dict:
        logger.error("Error: The config file is not in dictionary format")
        raise TypeError
    for name, actor in cfg["actors"].items():
        if name in self.actors.keys():
            raise RepeatedActorError(name)
        packagename = actor.pop("package")
        classname = actor.pop("class")
        try:
            __import__(packagename, fromlist=[classname])
        except ModuleNotFoundError:
            logger.error("Error: Packagename not valid")
        except AttributeError:
            logger.error("Error: Classname not valid within package")
        mod = import_module(packagename)
        clss = getattr(mod, classname)
        sig = signature(clss)
        configModule = ConfigModule(name, packagename, classname, options=actor)
        try:
            sig.bind(configModule.options)
        except TypeError:
            logger.error("Error: Invalid arguments passed")
            params = ""
            for parameter in sig.parameters:
                params = params + " " + parameter.name
            logger.warning("Expected Parameters:" + params)
        if "GUI" in name:
            logger.info("Config detected a GUI actor: {}".format(name))
            self.hasGUI = True
            self.gui = configModule
        else:
            self.actors.update({name: configModule})
    for name, conn in cfg["connections"].items():
        if name in self.connections.keys():
            raise RepeatedConnectionsError(name)
        self.connections.update({name: conn})