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.
Call IFileManager.enumFiles to enumerate files in a folder.