Parse cue file

I don't love it but I think it's okay for now.