change
$file
to:
Substr($file,InStrRev($file,"\")+1)

or just to:
$file.name


Edited by DrillSergeant (2007-10-09 07:45 PM)
Edit Reason: didn't know that dirplus returned full objects
_________________________
The Code is out there