modified the DirScan.cc
modified the Dirscan.cc