Write all the messages to files and open them in the browser

def to_browser_mode(self):
        """ Write all the messages to files and open them in the browser """
        for message_no in range(len(self.messages)):
            self.__to_browser(message_no)