walk the directory,return an Array