using scanner to read geoip