Added recursive fetch of directories