Stats: Record minimums and maximums as well as averages
update: Break out the parameter-to-filename rules into a function