Re-shaping directories