re structure file