def init_from_storage_write_to_datastore(self):
    """Init list of sumibssions from Storage and saves them to Datastore.

    Should be called only once (typically by master) during evaluation of
    the competition.
    """
    # Load submissions
    self._attacks = self._load_submissions_from_datastore_dir(
        ATTACK_SUBDIR, ATTACK_ID_PATTERN)
    self._targeted_attacks = self._load_submissions_from_datastore_dir(
        TARGETED_ATTACK_SUBDIR, TARGETED_ATTACK_ID_PATTERN)
    self._defenses = self._load_submissions_from_datastore_dir(
        DEFENSE_SUBDIR, DEFENSE_ID_PATTERN)
    self._write_to_datastore()