data uploaded in a file
cleanup the uploaded file
slight fix to an order of destruction issue;