def open_in_browser(file_location):
<EOL>if not os.path.isfile(file_location):<EOL><INDENT>file_location = os.path.join(os.getcwd(), file_location)<EOL><DEDENT>if not os.path.isfile(file_location):<EOL><INDENT>raise IOError("<STR_LIT>")<EOL><DEDENT>if sys.platform == "<STR_LIT>":<EOL><INDENT>file_location = "<STR_LIT>"+file_location<EOL><DEDENT>new = <NUM_LIT:2>  <EOL>webbrowser.get().open(file_location, new=new)<EOL>
Attempt to open file located at file_location in the default web
    browser.