code: def _create_single_taskpaper_task_list(
              self,
              content,
              setName):
          
          self.log.info(
              'starting the ``_create_single_taskpaper_task_list`` method')
  
          taskpaperDocPath = None
          if len(content):
              # content = content.decode("utf-8")
              if self.editorialRootPath:
                  taskpaperDocPath = self.syncFolder + "/e-" + \
                      self.workspaceName + "-" + setName + "-tasks.taskpaper"
              else:
                  taskpaperDocPath = self.syncFolder + "/" + \
                      self.workspaceName + "-" + setName + "-tasks.taskpaper"
              try:
                  self.log.debug("attempting to open the file %s" %
                                 (taskpaperDocPath,))
                  writeFile = codecs.open(
                      taskpaperDocPath, encoding='utf-8', mode='w')
              except IOError, e:
                  message = 'could not open the file %s' % (taskpaperDocPath,)
                  self.log.critical(message)
                  raise IOError(message)
              writeFile.write(content)
              writeFile.close()
              # OPEN TASKPAPER FILE
              if self.editorialRootPath:
                  doc = document(self.syncFolder + "/e-" +
                                 self.workspaceName + "-" + setName + "-tasks.taskpaper")
              else:
                  doc = document(self.syncFolder + "/" +
                                 self.workspaceName + "-" + setName + "-tasks.taskpaper")
              doc.sort_projects(workflowTags=self.workflowTags)
              doc.sort_tasks(workflowTags=self.workflowTags)
              doc.save()
  
          self.log.info(
              'completed the ``_create_single_taskpaper_task_list`` method')
          return taskpaperDocPath
docs: *create single, sorted taskpaper task list from content pulled in from all of the workspace taskpaper docs*
  
          **Key Arguments:**
              - ``content`` -- the content to add to the taskpaper task index
              - ``setName`` -- the name of the sync tag set
  
          **Return:**
              - ``taskpaperDocPath`` -- path to the task index taskpaper doc