make HtmlReader work

found that the HtmlReader not work because re.findall needs a string as argument but a file object is sent.
it is fixed just by reading the file content and then sending the content string to re.findall