heh, no, the $d is the file.
you have somewhere a dim $file line?
change that to $d.
_________________________
!

download KiXnet