code: def delete_files_within_dir(directory: str, filenames: List[str]) -> None:
      
      for dirpath, dirnames, fnames in os.walk(directory):
          for f in fnames:
              if f in filenames:
                  fullpath = os.path.join(dirpath, f)
                  log.debug("Deleting {!r}", fullpath)
                  os.remove(fullpath)
docs: Delete files within ``directory`` whose filename *exactly* matches one of
      ``filenames``.