generate report for paying affiliates

is a new file the right place for this or should I put it in the form?