regroup file