in reply to Adding object identifiers corresponding to each IP and printing them to O/P File.
What kind of file format is that? It looks like some kind of log file. If so, what software generated it?