update fileName in loadGrammar()