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