adding query files