Reading contents of Pak file

I’m trying to read the contents of a pak file and while loading something that I know already exists it works fine. But when trying to enumerate the contents of the pak file it keeps returning false for content that is working in the code right below the checks. The bools all return false, and even the FileList turns up empty even though my cast from IPlatform to FPakPlatformFile work fine and it goes inside the if block. Any ideas why?

[Code here][1]Imgur: The magic of the Internet