anchor.diff:                             (setf (gethash "size" file) total-file-size)
                              (remhash "upload_id" file)
                              (alet* ((file (edit-note-file user-id file-id file :remove-upload-id t)))
  +                             (track "file-upload" `(:shared ,(when persona-id t)))
                                (send-json res file))))))
         ;; create an uploader lambda, used to stream our file chunk by chunk to S3
         (log:debu1 "file: starting uploader with path: ~a" path)
  
positive.code:   (catch-errors (res)
      (alet* ((user-id (user-id req))
              (note-id (car args))
              (disable-redirect (get-var req "disable_redirect"))
              (hash (get-var req "hash"))
              (file-url (get-note-file-url user-id note-id hash))
              (headers (unless (string= disable-redirect "1")
                         `(:location ,file-url))))
        (if file-url
  
negative.code:   (catch-errors (res)
      (alet* ((user-id (user-id req))
              (note-id (car args))
              (persona-id (get-var req "persona"))
              (file-id note-id)
              (hash (get-var req "hash"))
              (file (make-note-file :hash hash))
  