def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def warn(txt, act, opt):
    if opt.get('display_examples'):
        print(txt + ":\n" + str(act))
    else:
        warn_once(txt)