code: private synchronized File createTemp(File workingDirectory) throws IOException {
          if (workingDirectory == null) {
              return createTempDir();
          }
          else {
              workingDirectory.mkdirs();
              return workingDirectory;
          }
      }
docs: Creates a fresh temp folder under the mentioned working folder. If workingFolder is null,
  system wide temp location will be used.
  
  @param workingDirectory