Use tf.data API for file processing.
Use tf.data API for file processing.

PiperOrigin-RevId: 181344891

vthorsteinsson/tensor2tensor,vthorsteinsson/tensor2tensor,rsepassi/tensor2tensor,rsepassi/tensor2tensor,tensorflow/tensor2tensor,vthorsteinsson/tensor2tensor,vthorsteinsson/tensor2tensor,tensorflow/tensor2tensor,rsepassi/tensor2tensor,tensorflow/tensor2tensor,rsepassi/tensor2tensor,tensorflow/tensor2tensor,tensorflow/tensor2tensor