reorganisation of the directory