code: def calc_datastore(request, job_id):
      
      job = logs.dbcmd('get_job', int(job_id))
      if job is None:
          return HttpResponseNotFound()
      if not utils.user_has_permission(request, job.user_name):
          return HttpResponseForbidden()
  
      fname = job.ds_calc_dir + '.hdf5'
      response = FileResponse(
          FileWrapper(open(fname, 'rb')), content_type=HDF5)
      response['Content-Disposition'] = (
          'attachment; filename=%s' % os.path.basename(fname))
      response['Content-Length'] = str(os.path.getsize(fname))
      return response
docs: Download a full datastore file.
  
      :param request:
          `django.http.HttpRequest` object.
      :param job_id:
          The id of the requested datastore
      :returns:
          A `django.http.HttpResponse` containing the content
          of the requested artifact, if present, else throws a 404