Change structure of  directory