public function writingAfterClose()
 {
     with($stream = new FileOutputStream($this->file));
     $stream->close();
     $stream->write('');
 }
 public function cannot_write_after_closing()
 {
     with($stream = new FileOutputStream($this->file));
     $stream->close();
     $stream->write('');
 }