  
      def set_context_handletype(self, command, action, variable):
          """ Choose the correct file browser action based on context """
          if self.contexts[command].get(variable, None) is not None:
              self.handletype = self.contexts[command][variable][action]
          else:
              self.handletype = self.contexts[command][action]
  
      def open(self):
          """ Open a file """
 
</s> remove             self.handletype = self.contexts[command][action]
 </s> add             handletype = self.contexts[command][action]
        logger.debug(handletype)
        self.handletype = handletype
            handletype = self.contexts[command][variable][action]
  
      def set_context_handletype(self, command, action, variable):
          """ Choose the correct file browser action based on context """
          if self.contexts[command].get(variable, None) is not None:
            handletype = self.contexts[command][variable][action]
          else:
              self.handletype = self.contexts[command][action]
  
      def open(self):
          """ Open a file """
keep keep keep keep replace keep keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging 
lib/gui/utils.py