public void buildHelpContents(URL inputfile) {
        
        try {
            BufferedReader in = new BufferedReader(new InputStreamReader(inputfile.openStream()));
            String read = in.readLine();
            if (read != null) {
                HTMLTagComposite baseContext = formatter.getCurrentContext();
                
                String heading = read;
                formatter.startNewSection(baseContext, SimpleHTMLFormatter.TAG_HEADING_LEVEL_1, heading);
                
                HTMLTagComposite paraContext = formatter.startNewSection(baseContext, SimpleHTMLFormatter.TAG_HEADING_LEVEL_2);
                formatter.writeInSection(paraContext, SimpleHTMLFormatter.TAG_HORIZONTAL_LINE, "");
                read = in.readLine();
                while (read != null) {
                    formatter.writeInSection(paraContext, SimpleHTMLFormatter.TAG_BREAK_LINE, read);
                    read = in.readLine();
                }
            }
        } catch (FileNotFoundException ex) {
            Logger.getLogger(HelpContentsReader.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IOException ex) {
            Logger.getLogger(HelpContentsReader.class.getName()).log(Level.SEVERE, null, ex);
        }
    }