Create query.txt