Split grammars into different files