code: def get_files (dirname):
      
      for entry in os.listdir(dirname):
          fullentry = os.path.join(dirname, entry)
          if os.path.islink(fullentry):
              continue
          if os.path.isfile(fullentry):
              yield entry
          elif os.path.isdir(fullentry):
              yield entry+"/"
docs: Get iterator of entries in directory. Only allows regular files
      and directories, no symlinks.