Backwards compatibility added. Added allowEmptyArchive test