change the structure of the files