matchesExtension
Returns true if the given filename ends with the given extension. One should provide a pure extension, without '.'.
Returns true if the given filename ends with the given extension. One should provide a pure extension, without '.'.