public void setAutomataFile(String automataFile) {
        if ( ! new File(automataFile).exists())
            throw new IllegalArgumentException("Automata file '" + automataFile + "' " +
                                               "included in " + this + " not found");
        phraseMatcher = new PhraseMatcher(automataFile);
        phraseMatcher.setIgnorePluralForm(true);
        phraseMatcher.setMatchAll(true);
        phraseMatcher.setMatchPhraseItems(true);
        phraseMatcher.setMatchSingleItems(true);
        setPhraseMatcher(phraseMatcher);
        this.automataFileName = automataFile;
    }
Sets the name of the automata file to use as a source of condition matches.
To reload the automata, call this again. This can be done safely at any
point by any thread while this rule base is in use.

@throws IllegalArgumentException if the file is not found
container-search/src/main/java/com/yahoo/prelude/semantics/RuleBase.java