I want to retrieve a file from a specific folder on my server.
I know that the file is at the path:
Fodler/Sub-folder/file
But I do not know if it is a .jpg or a .png.
How do I succesfully find ou tif the path is
Fodler/Sub-folder/file.jpg
or
Fodler/Sub-folder/file.png