system.file
File Functionsβ
The following functions give you access to read and write to files.
ποΈ fileExists
Checks to see if a file or folder at a given path exists.
ποΈ getTempFile
Creates a new temp file on the host machine with a certain extension, returning the path to the file.
ποΈ readFileAsBytes
Opens the file found at path filename, and reads the entire file.
ποΈ readFileAsString
Opens the file found at path filename, and reads the entire file. Returns the file as a string.
ποΈ writeFile
Writes the given data to the file at file path filename.