GET: add payload handler (output to a file)