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