Delete uploaded file via ajax.