Add support for local HTML files.
get_xpath and cached xpaths.