Dataview: Exclude specific files?

I want to exclude two files in a Dataview query to list all tasks but any version of FROM -"Planning.md" doesn’t exclude it. Planning.md and the other file are both in the root vault directory.

TASK
WHERE !completed
FROM -"Planning.md"
LIMIT 10
GROUP BY file.link
SORT rows.file.ctime ASC

More playing around was successful but is there a simpler way?

WHERE !completed AND file.name != "Planning" AND file.name != "Examples"

I use this approach as well; with file.path sometimes instead of file.name)