demo for write something at the end of file