gets dividend list saves to file