Fixed parsing of out.txt