faster "index all permissions", files in batches