myFile = <the file name/path>
tempDelimiter = the itemDelimiter -- store the old itemDelimiter
the itemDelimiter = "."
lastItem = myFile.item.count -- get how many items there are
myExtension = myFile.item[lastItem] -- get the extension
the itemDelimiter = tempDelimiter -- restore the itemDelmiter
Let me know if this is along the lines of what you were looking for.
Nathan