@gruehle `getBaseName()` is the same as `entry.name` too (though you don't need an entry).  There's nothing exactly like Ian's proposed `FileSystemEntry.parent` -- `FileUtils.getDirectoryPath()` is closest but if you give it a dir it just returns the same dir.  Might be worth adding a string path utility for this at least.  (I think I actually had to write one for the last extension I worked on).