That depends on the application.
Type: Posts; User: Norm
That depends on the application.
Why are you using a Set vs a Map? It looks like a Map would be more useful: key= token, value= list of line numbers
Can you explain what objects are to go in the set and how the data from the file is used to create those objects?