def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def memoized(*args):
        try:
            return stored_results[args]
        except KeyError:
            result = stored_results[args] = fn(*args)
            return result