public void close() throws IOException {
    if (dataStream != null) {
      dataStream.close();
    }
    byteStream = null;
    dataStream = null;
  }
Closes the file. No more reading is possible after the file has been closed.
hbase-it/src/test/java/org/apache/hadoop/hbase/test/util/warc/WARCFileReader.java