File and folder tree directory operation