import re


def get_text(file):
    """Read text from a file, normalizing whitespace and stripping HTML markup."""
    _text = open(file).read()
    _text = re.sub(r'<.*?>', ' ', _text)
    _text = re.sub('\s+', ' ', _text)
    return _text