Fixed an issue where files that begin with a D were treated as directories.