Code example for Writer

Methods: close, flush