File Manager object provides a number of methods to access the file system. It implements the IFileManager interface and is available through a global object
Use IFileManager.createFile method to create or open a file.
Use IFileManager.deleteFile to delete an existing file.
IFileManager.createFolder and IFileManager.deleteFolder may be used to create or delete folder, respectively.
Call IFileManager.enumFiles to enumerate files in a folder.