FileHandle:Write(string, FileHandle) shared Write to a file. Arguments input string file FileHandle Returns integer The number of bytes written. Examples FileHandle:Write – Write to a file.