Updated to parse through file to read