query parameters written to file