@Override
 public void close() throws IOException {
   System.out.print("Вы действительно хотите закрыть поток? Д/Н");
   BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
   if ("Д".equals(reader.readLine())) {
     amigoOutputStream.close();
     reader.close();
   }
 }
 @Override
 public void write(byte[] b, int off, int len) throws IOException {
   amigoOutputStream.write(b, off, len);
 }
 @Override
 public void write(byte[] b) throws IOException {
   amigoOutputStream.write(b);
 }
 @Override
 public void flush() throws IOException {
   amigoOutputStream.flush();
 }
 @Override
 public void write(byte[] b, int off, int len) throws IOException {
   original.write(b, off, len);
 }
 @Override
 public void write(byte[] b) throws IOException {
   original.write(b);
 }
 @Override
 public void flush() throws IOException {
   original.flush();
 }