I have a strange situation;
I want to fetch all images, used in my site.
echo $site->index()->files();
This code will output something like this;
G:\xampp\htdocs\_kirby\logo-flow\content\1-ontwerp\ontwerp_a_1.png
G:\xampp\htdocs\_kirby\logo-flow\content\1-ontwerp\ontwerp_a_2.png
G:\xampp\htdocs\_kirby\logo-flow\content\1-ontwerp\ontwerp_b_1.png
G:\xampp\htdocs\_kirby\logo-flow\content\6-site\site_c.png
G:\xampp\htdocs\_kirby\logo-flow\content\home\avatar.png```
As you can see, there are both images (**png**) and documents (**pdf**) in it.
But when I specify the content-type like this, nothing is returned at all;
```echo $site->index()->images();```
```echo $site->index()->documents();```
I can fetch all images / documents at site-level, like this;
```echo $site->images();```
```echo $site->documents();```
That works, but I want **all** files / documents / etc... not **only** the ones, placed in the root of ```content```.