generator will rename existed file