finish example done with textfile

next up saving stuff in images