File:open
Open the file for write, read or append.
ok, err = File:open( mode )
mode FileMode The mode to open the file in.
ok boolean True on success, false otherwise.
err string The error string if an error occurred.