Support subdirs

Support for operating idno in a base dir.