// io.wren
foreign class File {
// Checks if a file exists at the given path.
foreign static exists(path)
// Deletes the file at the given path. Returns true if successful.
foreign static delete(path)
// Reads the entire contents of the file at the given path.
// Returns the contents as a string, or null if the file could not be read.
foreign static read(path)
// Writes the given string contents to the file at the given path.
// Returns true if the write was successful.
foreign static write(path, contents)
}