Using FConfigCacheIni

I’m trying to read and write .ini files in my game, and I found this class which has the function

    void LoadFile
    (
        const FString & InFilename,
        const FConfigFile * Fallback,
        const TCHAR * PlatformString
    )

and some other functions can also load ini files.
But I just can’t figure out what the parameters should be, especially InFileName.
For example, if I want to load an .ini file: “myproject/folder/file.ini”, how should I pass the parameter?
Thanks in advance!

Well, I’ve figured it out!
Just don’t give file name an ‘.ini’ extension since the function expects it to be an ‘.ini’ file.