Paths file processing

this can be done much cleaner with enumerate():

for i, donation in enumerate(donor_history):
    ....