Implement etree.htmlfile