two queries. the first gives you the list of files...
# squarelibraries
j
two queries. the first gives you the list of files, the second you can run for each file to get its list of folders.