Recompose folder hierarchies