Retrieves the file extension of the specified path.
the file extension as a string.
the path from which to extract the file extension.