public void createReport(File newFile) {
        PrintWriter writer;
        try {
            
            writer = new PrintWriter(newFile);
            
            writer.write("Eagle Creek SiteMap Analyzer Report for: " + getFileName() + "\n");
            writer.write(" ,Summary:, Total, Pages, Documents, Media" + "\n");
            writer.write(" , , " + sumTotal + "," + sumPages + "," + sumDocuments + "," + sumMedia + "\n");
            if (sumPages > 0)          {
                writer.write("********************************************\n");
                writer.write("Page URLS: \n");
                writer.write("********************************************\n");
                writer.write(Arrays.asList(getURLsOfType(URLType.Page)).toString().replace(",", "").replace("[", "").replace("]", "") + "\n");
            }
            if (sumDocuments > 0) {
                writer.write("********************************************\n");
                writer.write("Document URLS: \n");
                writer.write("********************************************\n");
                writer.write(Arrays.asList(getURLsOfType(URLType.Document)).toString().replace(",", "").replace("[", "").replace("]", "") + "\n");
            }
            if (sumMedia > 0) {
                writer.write("********************************************\n");
                writer.write("Media URLs: \n");
                writer.write("********************************************\n");
                writer.write(Arrays.asList(getURLsOfType(URLType.Media)).toString().replace(",", "").replace("[", "").replace("]", "") + "\n");
            }            
            writer.close();

        } catch (SecurityException | FileNotFoundException se ) {
            System.out.println(se);
        }
    }