To access the underlying file system from within a script; for example, where a large amount of configuration information is needed that does not change from execution to execution, use these methods.
env.getFileSystem()—Retrieve an object that provides access to the underlying file system
env.createTempFile()—Create a temporary file that is cleaned up when the script completes
fs.getFile()—Retrieve a Java File object that refers to the file with a given path within EPM Workspace
fs.writeBytesToStream()—Write the contents of a byte array to a file