QFile for the file access, QTextStream for reading lines, QString API or QRegularExpression for parsing the numbers.

Cheers,
_