if ( -z $infile ) { unlink $infile or die "Can't unlink empty file '$infile': $!"; next FILE; }