Well, indeed it will be solved by writing the file in the step, but i would not call it symptom. Its not uncommon the need to pass a 'supplier' (in groovy a Closure<T>) or delay a call as much as possible so we actually have values for it