add the query file