a easiest way to generate a directory tree