It's also full of non-icann extensions. So a naive implementation will identify "github.io" as a TLD. There are lots of nuances to working with this list. Our team has a pretty robust internal (Python) library now that we hope to open source soon.
For instance, https://data.iana.org/TLD/tlds-alpha-by-domain.txt
Where is .co.uk ? That is - for all intents and purposes - considered a TLD.
So PSL is currently doing double-duty and the distinction is very important.