<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_cache_to_file(self):
 """Write the contents of the cache to a file on disk."""

        with(open(self._cache_file_name, 'w')) as fp:
            fp.write(simplejson.dumps(self._cache))