I’m finding it very difficult to understand this code…
In the spot in the code where it says
// Aha! we found a file that isnt a directory
you should put in a check to see if the file found matches the name you typed in. If it doesn't, don't play it.