i learned from the js example "jsfolderiter.js" that a File object's type would be "fold" if the file is a directory. However, i'm finding that i get a blank filetype for folders. I'm also noticing that .xml files return a blank filetype where as according to "max-fileformats.txt" they should return TEXT.
js is attached.
please put some .txt, a .pat, and/or a .xml in your root folder to test it out.
patch is below.