private Optional<File> getDirFromProperty(String propertyName, String subdirName) {
		String path = System.getProperty(propertyName, "").trim();
		if (!path.isEmpty()) {
			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 
system property

@param propertyName The name of the system property
@param subdirName The name of the subdirectory within the directory specified by the given
  system property
@return The subdirectory of the given name found within the directory specified by the given 
  systemProperty
Ghidra/Framework/Utility/src/main/java/utility/application/AppCleaner.java