def filter_stories(stories, triggerlist):
    """
    Takes in a list of NewsStory instances.

    Returns: a list of only the stories for which a trigger in triggerlist fires.
    """

    storylist = list()

    for story in stories:
        for T in triggerlist:
            if T.evaluate(story):
                storylist.append(story)

    return storylist