Support new ips.txt file format