Removed the use of DOMDocument::loadHTMLFile

This has been tested, but limits the HTML document somewhat in the fact
they cant add attributes the to <h1>, <style>, ad <title> tags. Needs to
be revised