#NEWLINE# @ flow . StateHandler ( next_state = [ 'ReceiveFileHash' , 'StoreStat' ] ) #NEWLINE# def Start( self ) : #NEWLINE# #INDENT# 'Start state of the flow.' #NEWLINE# super ( MultiGetFile , self ) . Start ( ) #NEWLINE# self . state . use_external_stores = self . args . use_external_stores #NEWLINE# self . state . file_size = self . args . file_size #NEWLINE# unique_paths = set ( ) #NEWLINE# for pathspec in self . args . pathspecs : #NEWLINE# #INDENT# vfs_urn = aff4 . AFF4Object . VFSGRRClient . PathspecToURN ( vfs_urn , self . client_id ) #NEWLINE# if ( vfs_urn not in unique_paths ) : #NEWLINE# #INDENT# unique_paths . add ( vfs_urn ) #NEWLINE# self . StartFileFetch ( pathspec )