$AEE.getExtension(fileName)
Use this function to get the extension of a given file.
Parameters:
fileName: The file you want to inspect.