Gets the file name extension
A String containing the extension of the file.
Return value contains the extension of the specified path. If the file was not selected by the user or the path have no extension, the value is an empty string.