def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def matchfn(self, f):
        match = self._matcher
        return match(f) or any(map(match, util.dirs((f,))))