refactor traitementrepertoirtxt