I'd prefer a gameType check instead of comparing the filename as string comparison in a loop could potentially be slow.

Also, I don't get why this exact line is needed as grim works perfectly as far as I can tell.