Restructing directory