@flow.StateHandler(next_state=["ReceiveFileHash", "StoreStat"])
  def Start(self):
    super(MultiGetFile, self).Start()

    self.state.use_external_stores = self.args.use_external_stores

    self.state.file_size = self.args.file_size

    unique_paths = set()

    for pathspec in self.args.pathspecs:

      vfs_urn = aff4.AFF4Object.VFSGRRClient.PathspecToURN(
          pathspec, self.client_id)

      if vfs_urn not in unique_paths:
        # Only Stat/Hash each path once, input pathspecs can have dups.
        unique_paths.add(vfs_urn)

        self.StartFileFetch(pathspec)
Start state of the flow.
dataset/ETHPy150Open google/grr/grr/lib/flows/general/transfer.py/MultiGetFile.Start