Change the structure of local directory.