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
File operations are not callable within templates, in order to keep view-level code separate from app logic.
data/files. File operations are not permitted outside this directory.