Change tool to (optionally) extract the dir name
Change tool to (optionally) extract the dir name

The dir_name is made optional. If no dir_name is specified, it is
extracted from the file name of the first input file.

WhatWorksWhenForWhom/nlppln,WhatWorksWhenForWhom/nlppln,WhatWorksWhenForWhom/nlppln