regoranize directory