checkLocalDirNaming has done