def load_text_file(filename):
    """ Returns a list of sequences separated by carriage returns in the file.
    Words are strings of characters. Whitespace is stripped.
    Capital letters removed.
    """
    in_file = open(filename, 'r')
    wordlist = []
    for line in in_file:
        wordlist.append(line.strip().lower())
    return wordlist