Fixed problem with loading ilab filesystem

the dirent thing was messing stuff up