print_file now return string