You can also tokenize the content of the file based on the * character and put every time the contents into a string array of two positions and use the second one.