Reduce code duplication in menu_load_or_open_zip_iterate