Remove leading directory portions from a path. More information: https://www.gnu.org/software/coreutils/basename.
basename path/to/file
basename path/to/directory
basename path/to/file suffix