fill grammar file for main menu