def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def step_impl(context, user_name):
    context.token = context.users[user_name]['token']