Editing directory tree