finished restructuring file