Parsing the output file finally implemented, removed regex, string finds are easier