Added some error checking to the filesystem and fixed the issue with glob() handling (where glob was giving us the whole path).
Added some error checking to the filesystem and fixed the issue with glob() handling (where glob was giving us the whole path).

damianb/openflame