private Optional<File> getDirFromEnv(String envName, String subdirName) {
		String path = System.getenv(envName);
		if (path != null && !path.isBlank()) {
			File dir = new File(path, subdirName);
			if (dir.isDirectory()) {
				return Optional.of(dir);
			}
		}
		return Optional.empty();
	}
Gets the subdirectory of the given name found within the directory specified by the given 
environment variable

@param envName The name of the environment variable
@param subdirName The name of the subdirectory within the directory specified by the given
  environment variable
@return The subdirectory of the given name found within the directory specified by the given 
  environment variable
Ghidra/Framework/Utility/src/main/java/utility/application/AppCleaner.java