check if archive is protected with a password
added missing closefile