Gets the extension of the file represented by the given path.
The file extension as a string.
The path of the file whose extension is to be determined.