^try{ ^file:copy[157.html;newdir/157.copy] ^if(-f "newdir/157.copy"){ ok. ^file:delete[newdir/157.copy] }{ no copy errors but target file doesn't exist. } }{ failed. $exception.handled(1) }