code: def setRootJob(self, rootJobStoreID):
          
          with self.writeSharedFileStream(self.rootJobStoreIDFileName) as f:
              f.write(rootJobStoreID.encode('utf-8'))
docs: Set the root job of the workflow backed by this job store
  
          :param str rootJobStoreID: The ID of the job to set as root