refine the folder structures.