finished script to read, aggregate, filter, and write migratory species to data txt file