@command<EOL><INDENT>def do_open(self, args, arguments):<DEDENT>
filename = arguments['<STR_LIT>']<EOL>filename = self._expand_filename(filename)<EOL>Console.ok("<STR_LIT>".format(filename))<EOL>if not (filename.startswith("<STR_LIT>") or filename.startswith("<STR_LIT>")):<EOL><INDENT>try:<EOL><INDENT>with open(filename):<EOL><INDENT>pass<EOL><DEDENT>filename += "<STR_LIT>"<EOL><DEDENT>except:<EOL><INDENT>Console.error("<STR_LIT>".format(filename))<EOL>return<EOL><DEDENT><DEDENT>try:<EOL><INDENT>webbrowser.open("<STR_LIT:%s>" % filename)<EOL><DEDENT>except:<EOL><INDENT>Console.error("<STR_LIT>".format(filename))<EOL><DEDENT>
::

    Usage:
            open FILENAME

    ARGUMENTS:
        FILENAME  the file to open in the cwd if . is
                  specified. If file in in cwd
                  you must specify it with ./FILENAME

    Opens the given URL in a browser window.