Also, it looks like you typo'd the $!
In reply to Re^3: Parse the text file output and delete files by Anonymous Monk in thread Parse the text file output and delete files by Gaurav99