The following filter expression in a sweep job or sweep policy would match any document that was filed in the folder with Id equal to {0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0}.
Object({0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0}) IN FoldersFiledIn
Link Relational Queries