iterateDirEntryByParent, cleanup