code: private void writeFiles(final DataInputStream valueStream, final Writer outputWriter) throws IOException {
      while (valueStream.available() > 0) {
        final String strFileName = valueStream.readUTF();
        final int entryLength = Integer.parseInt(valueStream.readUTF());
        outputWriter.write("=====================================================\n");
        outputWriter.write("File Name: " + strFileName + "\n");
        outputWriter.write("File Length: " + entryLength + "\n");
        outputWriter.write("-----------------------------------------------------\n");
        this.write(valueStream, outputWriter, entryLength);
        outputWriter.write("\n");
      }
    }
docs: Writes the logs of the next container to the given writer. Assumes that the valueStream is suitably positioned.
  
  @param valueStream
  @param outputWriter
  @throws IOException