Add an option to specify in which file to dump the query
Add an option to specify in which file to dump the query