dirname [-V] NAME DIRNAME
Strip last componext of NAME and store into $DIRNAME
return the path relative to the mountpoint.
3.5.6. digest - calculate digest
3.5.8. filetype - detect file type