- added function to get file list as tree