Loading all files from the content folder instead of one by one.

This person was trying to do exactly the same thing, and apparently found the solution here:

However I still don’t know how I can call that function and what parameter I should pass.