Php file keep being deleted

I use mpdf to create a pdf file and then send it to the client, but the file that do all the work keeps being deleted for no reason every time I try to call it.

Oh well, found the way to fix it, someone close this ^^!