import re


def read_html(htmlfile):
    """
    Reads the HTML file to a string.
    Removes some potential trouble makers.
    """
    with open(htmlfile, "r") as infile:
        html = infile.read()
        # Clean out some unnecessary stuff
        html = re.sub("<div class=\"wp-about-author.*?</div>", "", html, re.S)
        html = re.sub("<h4>Sobre la autora</h4>", "", html)
        html = re.sub("More Posts</a>", "", html)
        html = re.sub("Follow Me:", "", html)
        html = re.sub("<em>", "", html)
        html = re.sub("</em>", "", html)
        html = re.sub("<i>", "", html)
        html = re.sub("</i>", "", html)
        return html