Gets the short name of this file, that is, the prefix of its base name up to (but not including) the first dot character if there is one, or the entire base name if there is not. For example, if the full name is “/path/to/filename.a.bcd” then the short name is “filename”.
getExtension should be preferred over
getExtensions since the former pair is compatible
with the file libraries of other languages.
Note the slight difference between this predicate and
for example, for “file.tar.gz”, this predicate will have the result
getStem will have the result “file.tar”.