code: def findFileParam(self, comp):
          
          for p in self._parameters:
              if p['parameter'] == 'filename' and comp in p['selection']:
                  return p['names']
docs: Finds the filename auto-parameter that component *comp* is
          in, and returns all the filenames for that parameter. Notes this
          assumes that *comp* will only be in a single filename auto-parameter.
  
          :param comp: Component to search parameter membership for
          :type comp: :class:`AbstractStimulusComponent<sparkle.stim.abstract_component.AbstractStimulusComponent>`
          :returns: list<str> -- filenames the found parameter will loop through