code: def select_files_from_directory(self, directory=None):
          
          filenames = []
          if directory is None:
              directory = ''
          for pattern in self.file_patterns:
              matching = glob.iglob(os.path.join(directory, globify(pattern)))
              filenames.extend(matching)
          return filenames
docs: Find files for this reader in *directory*.
  
          If directory is None or '', look in the current directory.