This object is used to supply arguments to the DirectoryEntry
getFile and getDirectory methods, which look up or create files and directories, respectively.
// Get the data directory, creating it if it doesn't exist. dataDir = fileSystem.root.getDirectory("data", {create: true}); // Create the lock file, if and only if it doesn't exist. lockFile = dataDir.getFile("lockfile.txt", {create: true, exclusive: true});