A friend of mine wrote this module because fileio sucked according to him, and since he’s lazy I’ve put the module on my github.
Due to the fact it’s OOP, you can read, write, append. It even has some security features that fileio doesn’t.
NOTE: Only for windows at the moment.
Here are the functions exposed to the lua api:
// OOP Functions CFile:Read CFile:Write CFile:Append CFile:Clear CFile:Flush CFile:Length // Functions leetio.Open leetio.CreateDirectory leetio.GetDirectory