transform work and clean files