Not defined error

Good morning,

Any idea why im getting this error?
I’m currently creating something to add to my program, and I’ve already made something similar that worked. So I dont understand why now the list doesnt work. Did I make an error somewhere?

NVM the the filename might be poselistR22 but inside the file it was poselistR2 and therefore not a match.