respond to post request, write to file