enumrate files into a tree