directory type detected from modified time equals 0
scanDir optimize