Retrieves the name of the file or directory represented by the given path.
The name of the file or directory as a string.
The path representing a file or directory whose name is to be retrieved.