code: def cl_input(cls, filename, unpack=True, anonpipe=True):
          
          command, prog = cls._download_cl(filename)
          if prog == "awscli":
              command.append("-")
  
          command = " ".join(command)
          if filename.endswith(".gz") and unpack:
              command = "%(command)s | gunzip -c" % {"command": command}
          elif filename.endswith(".bz2") and unpack:
              command = "%(command)s | bunzip2 -c" % {"command": command}
          if anonpipe:
              command = "<(%(command)s)" % {"command": command}
  
          return command
docs: Return command line input for a file, handling streaming
          remote cases.