final boolean QueryLineHasQueryID = Boolean.parseBoolean(ApplicationSetup.getProperty("SingleLineTRECQuery.queryid.exists","true"));
final boolean QueryTokenise = Boolean.parseBoolean(ApplicationSetup.getProperty("SingleLineTRECQuery.tokenise",
ApplicationSetup.getProperty("SingleLineTRECQuery.periods.allowed", "false")));
//logger.info("Extracting queries from "+queryfilename + " - queryids "+QueryLineHasQueryID);
if (tokeniser == null) {
tokeniser = QueryTokenise ? Tokeniser.getTokeniser() : new IdentityTokeniser();
}
try {
BufferedReader br;
if (! Files.exists(queryfilename))
{