append messages when use print_file option instead of rewriting file