save data to 'post.txt'