Replace nameTemplate template by a fileName expression and if the expression eval to null, no file is created