debugging fileExt code