Reference: extractFileExt
extractFileExt(s), where s is a string representing a file name, returns the file extension of the file name, including the period.
For example, extractFileExt("C:\WINDOWS\notepad.exe") returns ".exe".extractFileExt(s), where s is a string representing a file name, returns the file extension of the file name, including the period.
For example, extractFileExt("C:\WINDOWS\notepad.exe") returns ".exe".