Bug 1042967 filter filenames before loading the file

> if you are replicating condition from above replaced code, the logic described in the comment doesn't seem to apply anymore, as you have split the fileFilter and testFilter functions..

@zombie This English doesn't compute, and which comment are you referring to?