code: def _createFile(self, options=None):
      filename = self._inputFilename()
      writer = python_io.TFRecordWriter(filename, options)
      for i in range(self._num_records):
          writer.write(self._record(i))
      writer.close()
      return filename
  
imports: import os
  from absl.testing import parameterized
  from tensorflow.python.data.experimental.ops import grouping
  from tensorflow.python.data.experimental.ops import writers
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import readers
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import dtypes
  from tensorflow.python.lib.io import python_io
  from tensorflow.python.lib.io import tf_record
  from tensorflow.python.ops import string_ops
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 4 for calling the TFRecordWriterTest obj's underlying member method code with example usage: obj._createFile(options) and returns: filename