I think I've just figured it out.
I've found a RecordAssembler under Flow Control > Aggregator.
For the filename I used a StringConst under Sources > Generic Source.