To demonstrate this, I have few IPs list called blocked.txt with the following content:
blocked.txt
1.1.1.1 1.1.1.2 1.1.1.3 2.1.1.1 2.1.1.2