Unpack with file extension condition

Good evening everyone!
There is an archive with an xml file inside, and this xml file can be zipped into several nested archives. The idea is to loop until I find a file with an xml extension. How to modify the project so that the condition is fulfilled correctly. Thanks.
Main.xaml (8.6 KB) Test.zip (3.4 KB)

Hi @sereganator,
I believe this post resolves your query.
Mark as solution :white_check_mark: if the answer helps you.

Thanks for trying, but I did it myself. Unfortunately, it only works for two levels of nesting; if more, it doesn’t work.