Use DirEntry instead of deprecated dirEntry
Merge pull request #73 from John-Colvin/patch-1

Use DirEntry instead of deprecated dirEntry