Fix file locating in html_example method