code: public File getWorkDir() {
      if (null == this.workDir) {
        File dir = new File(teBaseDir, "work");
        if (!dir.exists() && !dir.mkdir()) {
          throw new RuntimeException("Failed to create directory at "
                  + dir.getAbsolutePath());
        }
        this.workDir = dir;
      }
      return workDir;
    }
docs: Returns the location of the work directory (TE_BASE/work).
  
  @return A File denoting a directory location; it is created if it does
  not exist.