Functions for working with files and directories.
Most file operations will throw an exception if they fail. If you want to recover from a non-essential file operation, wrap it in a
NOTEFile operations are not callable within templates, in order to keep your View code separate from your app logic.
SecurityAll paths are relative to
data/files. File operations are not permitted outside this directory.