Would need to know what you plan to use as the item, and what as the data. Basically, its going to be $findfile(dir,filemask,N,[depth,]hadd table item data)