public abstract Path getFileName ()

Returns the name of the file or directory denoted by this path as a Path object. The file name is the farthest element from the root in the directory hierarchy.

Returns:  a path representing the name of the file or directory, or null if this path has zero elements