code: @Override
      public void close() throws IOException {
          if (input instanceof RandomAccessFile) {
              ((RandomAccessFile) input).close();
          }
          else if (input instanceof LittleEndianRandomAccessFile) {
              ((LittleEndianRandomAccessFile) input).close();
          }
  
          // Other streams are left open
      }
docs: This method will close the underlying {@link RandomAccessFile} if any,
  but will leave any stream created outside the document open.
  
  @see #CompoundDocument(File)
  @see RandomAccessFile#close()
  
  @throws IOException if an I/O error occurs.