io_file [function]

io_file([ string name, int mode ])

creates and returns a file, optionally allowing to open it on creation