code: def _get_filesystem_types(args, sample_file):
      
      out = set([])
      ext = "" if args.no_container else "_container"
      with open(sample_file) as in_handle:
          for f in _get_file_paths(json.load(in_handle)):
              if f.startswith("gs:"):
                  out.add("gcp%s" % ext)
              elif f.startswith("s3:"):
                  out.add("s3%s" % ext)
              elif f.startswith(("https:", "http:")):
                  out.add("http%s" % ext)
              else:
                  out.add("local%s" % ext)
      return out
docs: Retrieve the types of inputs and staging based on sample JSON and arguments.