def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def step_impl(context, name, field):
    context.request.add_file(context.helpers.file_path(name), field)