Bug 1042967 filter filenames before loading the file

> i don't understand why name would ever be empty here, and then why the filter should return true?

So `filter` returns true if we want to keep the result, which is similar to match `Array.prototype.filter`'s behavior, though I admit it may be counter intuitive.