add file-reading helper
relative URLs/paths: may close #3 and #6

includes test.html, which is the result of running on:
 http://www.w3schools.com/html/html_images.asp