non recursive directory scan

I'm thinking that this should probably affect the `scanZip` bit as well, since the output of the two is expected to be processed the same?