Reallocating directories