code: def put_file(self, secure_data_path, filehandle, content_type=None):
          
  
          # Parse out the filename from the path
          filename = secure_data_path.rsplit('/', 1)
  
          if content_type:
              data = {'file-content': (filename, filehandle, content_type)}
          else:
              data = {'file-content': (filename, filehandle)}
  
          headers = self.HEADERS.copy()
          if 'Content-Type' in headers:
              headers.__delitem__('Content-Type')
  
          secret_resp = post_with_retry(self.cerberus_url + '/v1/secure-file/' + secure_data_path,
                                      files=data, headers=headers)
          throw_if_bad_response(secret_resp)
          return secret_resp
docs: Upload a file to a secure data path provided
  
          Keyword arguments:
          secure_data_path -- full path in the safety deposit box that contains the file key to store things under
          filehandle -- Pass an opened filehandle to the file you want to upload.
             Make sure that the file was opened in binary mode, otherwise the size calculations
             can be off for text files.
          content_type -- Optional.  Set the Mime type of the file you're uploading.