def METHOD_NAME(self, subfile):
    """returns a pseudo-file object for the given subfile"""
    def onclose(contents):
        pass
    outputfile = wStringIO.CatchStringOutput(onclose)
    outputfile.filename = subfile
    outputfile.tmxfile = self.tmxfile
    return outputfile