output returned response to data file