please no fancy stuff; we have dirname(1)