finish trans file generation