Search thru an IP blocklist

So, I've to list all the IPs manually, is it not possible to use another index or a text file?