def METHOD_NAME(self):
    """
    check files in self.pathList to see if they are plugins
    """
    self.check_available_error_d = dict()
    for p in self.pathList:
        if os.path.exists(p):
            sys.path.append(p)
            pgfiles = os.listdir(p)
            for fname in pgfiles:
                mname = fname.rsplit(".", 1)  # split off extension
                if len(mname) > 1 and mname[1] == "py":
                    with open(os.path.join(p, fname), "r", encoding="utf-8") as f:
                        is_found = None
                        try:
                            text_to_search_in = f.read(self.charLimit)
                            pattern = self.idString
                            instances_found_in_text = list(
                                re.findall(pattern, text_to_search_in)
                            )
                            is_found = bool(instances_found_in_text)
                        except:
                            _log.exception("error reading py file")
                            is_found = False
                    if not is_found:
                        continue
                    try:
                        if mname[0] in self.plugins:
                            _log.info(
                                "Reloading Plugin: {}".format(
                                    os.path.join(p, fname)
                                )
                            )
                            self.plugins[mname[0]] = imp.reload(
                                self.plugins[mname[0]]
                            )
                        else:
                            logging.getLogger("foqus." + __name__).info(
                                "Loading Plugin: " + os.path.join(p, fname)
                            )
                            self.plugins[mname[0]] = importlib.import_module(
                                mname[0]
                            )
                    except:
                        _log.exception(
                            "Error Loading Plugin: {}".format(
                                os.path.join(p, fname)
                            )
                        )
    # Now check that the plugins have what they need to be used
    for pkey, p in list(self.plugins.items()):
        _log.debug("check plugin available: %s" % (pkey))
        try:
            av = p.checkAvailable()
        except Exception as ex:
            _log.exception("Exception Plugin checkAvailable")
            self.check_available_error_d[pkey] = traceback.format_exc()
            av = False
        if not av:
            del self.plugins[pkey]
            _log.info("Removing plugin, due to missing dependency: " + pkey)