File Parseing

Reads the text file and parses it for the values needed for the problem