It's still possible for `filename()` to return `None`, notably, if the path is something like `../..`, but this shouldn't happen in glob because it's using an absolute path. Still, the match is obviously worth keeping, just the comment needs to be updated.