getExtension

Utility method to return a file's extension.