def parse_reaction(line):
    """
    Takes a string declaring a new reaction in an Avida environment file and
    returns the name of the associated task.
    """
    sline = line.split()
    return sline[2].strip()