'Start collecting.'

@flow.StateHandler()
def StartCollection(self, responses):

    if (not responses.success):
        raise artifact_utils.KnowledgeBaseUninitializedError('Attempt    to    initialize    Knowledge    Base    failed.')
    if (not self.state.knowledge_base):
        self.client = aff4.FACTORY.Open(self.client_id, token=self.token)
        self.state.knowledge_base = artifact.GetArtifactKnowledgeBase(self.client, allow_uninitialized=True)
    for artifact_name in self.args.artifact_list:
        artifact_obj = self._GetArtifactFromName(artifact_name)
        artifact_obj.Validate()
        self.Collect(artifact_obj)
