test uploaded file