Open the given HTML file in a browser.

def open_in_browser(self, outfile):
        """Open the given HTML file in a browser.
        """
        if self.browser == 'default':
            webbrowser.open('file://%s' % outfile)
        else:
            browser = webbrowser.get(self.browser)
            browser.open('file://%s' % outfile)