ENYO-3285: filter-out file names before substituting variables...

...not within the substitution loop.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>