basename

Last path component (including the suffix, if any). it is never empty.

AbsolutePath.swift:84
var basename: String { get }