Fixed use of option "expose files".
Returned only public items.