Adding a simple example use-case for .write()