modify the structure of folders