cleanup the uploaded file