              self.recent_menu.add_command(
                  label="{} ({})".format(filename, lbl.title()),
                  command=lambda kw=kwargs, fn=load_func: fn(**kw))
          self.recent_menu.add_separator()
          self.recent_menu.add_command(
              label="Clear recent files",
              underline=0,
              command=lambda srl=serializer, mnu=menu_file: self.clear_recent_files(srl, mnu))
  
 
</s>
        if removed_files:
            for recent_item in removed_files:
                logger.debug("Removing from recent files: `%s`", recent_item[0])
                recent_files.remove(recent_item)
            serializer.save(menu_file, recent_files)
              self.recent_menu.add_command(
                  label="{} ({})".format(filename, lbl.title()),
                  command=lambda kw=kwargs, fn=load_func: fn(**kw))
        if removed_files:
            for recent_item in removed_files:
                logger.debug("Removing from recent files: `%s`", recent_item[0])
                recent_files.remove(recent_item)
            serializer.save(menu_file, recent_files)
          self.recent_menu.add_separator()
          self.recent_menu.add_command(
              label="Clear recent files",
              underline=0,
              command=lambda srl=serializer, mnu=menu_file: self.clear_recent_files(srl, mnu))
  
keep keep add keep keep keep keep keep keep
 bugfix: lib.gui - Remove non-existant files from recent files list
lib/gui/menu.py