file writer is a type with an internal buffered writer