refactoring (xmlInZip created)
error handling