if you've already got the relations between folder...
# spicedb
y
if you've already got the relations between folders and files in spicedb you can use a
ReadRelationships
rather than reading from the app DB, but that sounds about the same from a cumbersomeness level