You'd use it to check whether the IP address is already in that file.

However, a .INI file with READPROFILESTRING/WRITEPROFILESTRING would be even more efficient as you'd do only one line to check whehter the IP address is already present, then a second line to write the IP address. Check out these two functions and the .INI file structure.
_________________________
There are two types of vessels, submarines and targets.