add an example to append content to a file