reformat models files