PRO rmlist,file

 names = rd_asc(file)
 n = n_elements(names)

 for i=0,n-1 do begin
   cmd = '/usr/bin/rm -f '+ names(i)
   print,cmd
   spawn,cmd
 endfor

 cmd = '/usr/bin/rm -f '+ file
 print,cmd
 spawn,cmd

RETURN
END
