restructuring the files