That’d certainly be a more powerful way to whitelist directories. I’ll update this PR later this weekend with an implementation.