Has anyone made any resource that can SAVE/READ any sort of text file

I just need some example, if anyone knows a resource where i should check exactly how to save/load ex:playerdata in FiveM.

nvm, figured it out.