convert file output to a BatchWriter