public void close() throws IOException {
   bytes.flush();
   bytes.close();
 }
 public void flush() throws IOException {
   bytes.flush();
 }