Editing directory structure