modify files to change structure