docs: def cached_stan_file(model_name='anon_model', file=None, model_code=None,
                    cache_dir=None, fit_cachefile=None, cache_only=None, force=False,
                    include_modelfile=False, prefix_only=False,
                    **kwargs
                    ):
      ''' Given inputs to cached_stan_fit, compute pickle file containing cached fit
      '''
      model_prefix, model_cachefile = cached_model_file(model_name=model_name, file=file, model_code=model_code,
                                                        cache_dir=cache_dir, fit_cachefile=fit_cachefile, include_prefix=True)
      if not fit_cachefile:
          fit_cachefile = '.'.join([model_prefix, 'stanfit', _make_digest(dict(**kwargs)), 'pkl'])
      if include_modelfile:
          return model_cachefile, fit_cachefile
      if prefix_only:
          fit_cachefile = re.sub(string=fit_cachefile, pattern='.pkl$', repl='')
      return fit_cachefile