Is this a good way of comparing the contents of a file to expected values? Or should we use `strtoul` or `atoi` or something equivalent and do a numeric check?