Delete file on error

var pdfFile;