add readFile and loading of Document from html string