def configfile(f):
@click.pass_context<EOL>def new_func(ctx, *args, **kwargs):<EOL><INDENT>ctx.config = yaml.load(open(ctx.obj["<STR_LIT>"]))<EOL>return ctx.invoke(f, *args, **kwargs)<EOL><DEDENT>return update_wrapper(new_func, f)<EOL>
This decorator will parse a configuration file in YAML format
        and store the dictionary in ``ctx.blockchain.config``