bool canRead(String path) { if (paths == null) return true; for (final t in paths!) { if (_matches(t.path, path)) return true; } return false; }