fixed issue w/ fileutil returning undefined elements in returned filename array