code: def select_files_from_pathnames(self, filenames):
          
          selected_filenames = []
  
          for pattern in self.file_patterns:
              matching = match_filenames(filenames, pattern)
              for fname in matching:
                  if fname not in selected_filenames:
                      selected_filenames.append(fname)
          if len(selected_filenames) == 0:
              logger.warning("No filenames found for reader: %s", self.name)
          return selected_filenames
docs: Select the files from *filenames* this reader can handle.