Created GrammarImport class for reading grammars from files.