grabs the most recent trends and saves them to a file