get File Extension
Gets the file extension of the current path, if it exists.
Return
the file extension of the file, including the dot (e.g. .png)
Gets the file extension of the current path, if it exists.
the file extension of the file, including the dot (e.g. .png)