def _remove_head(text):
    """Removes the head section of a string read from an html file.

    Args:
        text: A string (content of an html file).

    Returns:
        The same string but without the head section.
    """
    new_text = text.split('<head>')
    newest_text = new_text[1].split('</head>')
    return new_text[0] + newest_text[1]