C++ File operations not working as expected

If i remember unreal uses / for paths check if you have any \ in your search paths.
I’m away from my pc atm but I’ll try to recreate your function later on.