Read deviceid form file