def METHOD_NAME(self, arg):
    fp = open(arg)
    try:
        print
        for line in fp.readlines():
            line = self.precmd(line)
            stop = self.onecmd(line)
            stop = self.postcmd(stop, line)
    finally:
        fp.close()
    return False