code: def add_commands_from_file(self, filename, autoprompt=True):
          
          if autoprompt:
              deco = self._create_autoprompt_handler
          else:
              deco = None
          self.commands.add_from_file(filename, deco)
docs: Wrapper around add_command_handler that reads the handlers from the
          file with the given name. The file is a Python script containing
          a list named 'commands' of tuples that map command names to
          handlers.
  
          :type  filename: str
          :param filename: The name of the file containing the tuples.
          :type  autoprompt: bool
          :param autoprompt: Whether to append a prompt to each response.