fixed geoip to work with file: protocol