Updated magic_forms
Should group by rid, not amount
Only change file value when file has changed.