Cleanup grammar file