He stated that the funcion he's calling returns whether the file is a 'device'.

As these file names could potentially be devices, he's discarding them as a possible file name..

So yeah, it's possible the routine he's using is outdated.. But then there's the whole backward compatability thing..