code: def _get_path(self, file):
          
          dir = self._cache_directory()
          if not os.path.exists(dir):
              os.makedirs(dir)
          return os.path.join(dir, file)
docs: Creates the cache directory if it doesn't already exist. Returns the
          full path to the specified file inside the cache directory.