storing queries in a seperate file, handling ASK queries