Rename the query file