              if item.startswith(".gui_preview_") and item.endswith(".jpg"):
                  fullitem = os.path.join(self.pathpreview, item)
                  os.remove(fullitem)
          self.clear_image_cache()
  
      def clear_image_cache(self):
          """ Clear all cached images """
          logger.debug("Clearing image cache")
 
</s>
                logger.debug("Deleting: '%s'", fullitem)
              if item.startswith(".gui_preview_") and item.endswith(".jpg"):
                  fullitem = os.path.join(self.pathpreview, item)
                logger.debug("Deleting: '%s'", fullitem)
                  os.remove(fullitem)
          self.clear_image_cache()
  
      def clear_image_cache(self):
          """ Clear all cached images """
          logger.debug("Clearing image cache")
keep add keep keep keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging
lib/gui/utils.py