engine: Add filename argument to matchFile