remanage the dir