BufferedOutputStream bos =
new BufferedOutputStream(new FileOutputStream(target));
FileInputStream is = new FileInputStream(fieldsSrc);
ANVLRecord ar = ANVLRecord.load(is);
List<String> metadata = new ArrayList<String>(1);
metadata.add(ar.toString());
writer = new WARCWriter(new AtomicInteger(),bos,target,getSettings(true, null, null, metadata));
// Write a warcinfo record with description about how this WARC
// was made.
writer.writeWarcinfoRecord(target.getName(), "Made from "