I am trying to read the data from a text file given in a tree format. A sample of the text file looks like this, ['972651', '80080680482123777', '0.0']->['10
qtreewidgetitem
qlocalserver
oz
kubernetes-jenkins-plugin
strongly-connected-graph
android-looper
git-stage
adjustpan
mysql-error-1054
dateparser
onpremises-gateway
siuba
lucene-highlighter
halogen
pixel-shader
jest-junit
instagrapi
perl-packager
windows-media-player
qtquickcontrols2
drawimage
spatial-interpolation
mage
background-foreground
parallel-foreach
solarium
gff
navicat
file-descriptor
python-dataclasses