var files=fsys.list(path); var filelist={}; for(k,v in files){ if(type(k)=='string'){ table.push(filelist,v); } } //console.dump(filelist);