init directory.