So I'm working on a multiple xml picture gallery, in which an
xml file will contain on gallery. What I want to do is check how
many xml files a directory contains, to check how many xml files I
will have to load. But I can't figure out how to do this, I guess
it possibly has something to do with "fileReference" but I'm not
sure, and how to use it. Could anyone give me an example of how to
do something like this?