Code example for FileWriter

Methods: close, write