Optional
The filename or path
The extension, or an empty string if not found.
Extracts the extension from the given filename or path (e.g.: ".png").
The filename or path