Changing file for the regrouping