def handler():
            nonlocal called
            called += 1
            raise ValueError("yeah sync")
def step_impl(context, name, field):
    context.request.add_file(context.helpers.file_path(name), field)