load query files