extract lists and menus in separate files