store the uploaded file