public void readQueriesFromFile(String queryFile) {
int noQueries = Integer.MAX_VALUE;
int qNum = 0;
// QueryParser qp = new XFQueryParser(queryFile);
QueryParser qp = new XPQueryParser(queryFile);
// Query query;
String queryString;
while (qNum < noQueries && ((queryString = qp.readNextQueryString()) != null)) {
if (DEBUG)
System.out.println(queryString);
addXPathExpressions(queryString);
qNum++;
}