setupFile will now trigger a flush after new stream was created if writer is paused