def METHOD_NAME(request, response):
    # Load output from file and convert to data
    response.outputs['complex'].file = fn
    o = response.outputs['complex'].data
    # Get input data from the request
    i = request.inputs['complex'][0].data
    assert i == o
    return response