# FileModule
Provides simple file I/O functions.
## Functions
### file_get_contents
file_get_contents(filename) -> stringfilename (string): Path to the file.filename not a string.### file_put_contents
file_put_contents(filename, content, overwrite) -> undefinedcontent to filename.filename (string): Path to the file.content (string): Content to write.overwrite (bool): Whether to overwrite existing file.undefined.overwrite is false.### file_exists
file_exists(filename) -> boolfilename (string): Path to the file.filename not a string.## Example
vs var filename = "example.txt"; if (!file_exists(filename)) { file_put_contents(filename, "Hello, VoidScript!", true); } var content = file_get_contents(filename); printnl(content);