<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_batch_json(self, content):
 """Write batch json data to a file."""

        timestamp = str(time.time()).replace('.', '')
        batch_json_file = os.path.join(
            self.tcex.args.tc_temp_path, 'batch-{}.json'.format(timestamp)
        )
        with open(batch_json_file, 'w') as fh:
            json.dump(content, fh, indent=2)