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