threads now use dirName for opendir function