Issues with simple mp3 player

I have some issues with an mps player

theres a text file called total_tracks.txt which states how may tracks there are and that says “totalTracks=3”

the code is pretty short, and I am getting the artist and song namefrom the id3 tags,

I have posted the code below