def build_word_list(filename):
    """Scrapes a text file for the list of words that must be found.

    Args:
        filename: A text file containing a list of comma-separated values.

    Returns:
        A list containing the words that must be found.
    """
    input_file = open(filename, 'r')
    word_list = input_file.read()
    input_file.close()

    # Extract words from a comma-separated list
    word_list = word_list.split(',')

    # Remove leading and trailing spaces from all words
    word_list = [word.strip(' \n') for word in word_list]

    return word_list