def open(self, name, mode='<STR_LIT:r>', *args, **kwargs):
fname = self.lookup(name)<EOL>if not fname: raise IOError("<STR_LIT>" % name)<EOL>return self.opener(fname, mode=mode, *args, **kwargs)<EOL>
Find a resource and return a file object, or raise IOError.