listing root folder if directory is null