def getCliInstance():
	global _dbcli
	if not _dbcli:
		_dbcli = DatabaseHelper()
	return _dbcli
def matchfn(self, f):
        match = self._matcher
        return match(f) or any(map(match, util.dirs((f,))))