def getCliInstance():
	global _dbcli
	if not _dbcli:
		_dbcli = DatabaseHelper()
	return _dbcli
def visitdir(self, dir):
        if self(dir):
            return "all"
        return self._matcher.visitdir(dir)