code: def fetch_option_taskfileinfos(self, element):
          
          tfs = []
          for task in element.tasks.all():
              taskfiles = list(task.taskfile_set.filter(releasetype=djadapter.RELEASETYPES['release'],
                                                        typ=djadapter.FILETYPES['mayamainscene']))
              tfs.extend(taskfiles)
          tfis = [TaskFileInfo.create_from_taskfile(tf) for tf in tfs]
          return tfis
docs: Fetch the options for possible files to load, replace etc for the given element.
  
          Options from which to choose a file to load or replace.
  
          :param element: The element for which the options should be fetched.
          :type element: :class:`jukeboxcore.djadapter.models.Asset` | :class:`jukeboxcore.djadapter.models.Shot`
          :returns: The options
          :rtype: list of :class:`TaskFileInfo`
          :raises: None