Write to only one file per flow