What's in a (file)name?
Here's a simple conundrum: Given a file, say:
/foo/bar/baz.exe
what are the names for the different parts of it?
The directory (part) is /foo/bar. The non-directory or file part is baz.exe. The extension is .exe.
So what is baz?
Frequently, I've written code that produces …