docs: def getinputfiles(self, outputfile, loadmetadata=True, client=None,requiremetadata=False):
          """Iterates over all input files for the specified outputfile (you may pass a CLAMOutputFile instance or a filename string). Yields (CLAMInputFile,str:inputtemplate_id) tuples. The last three arguments are passed to its constructor."""
          if isinstance(outputfile, CLAMOutputFile):
              outputfilename = str(outputfile).replace(os.path.join(self.projectpath,'output/'),'')
          else:
              outputfilename = outputfile
          outputtemplate, inputfiles = self[outputfilename]
          for inputfilename, inputtemplate in inputfiles.items():
              yield CLAMInputFile(self.projectpath, inputfilename, loadmetadata,client,requiremetadata), inputtemplate