12.7 用 defer 关闭文件

    在函数 return 后执行了 f.Close()