Added archive existence check before creating it.