code: def walkfiles(self, *args, **kwargs):
          
          return (
              item
              for item in self.walk(*args, **kwargs)
              if item.isfile()
          )
docs: D.walkfiles() -> iterator over files in D, recursively.