Reorganizes folders.