public static File directoriesToFile(String ... directoryNames) {
		if(directoryNames.length == 0) {
			throw new IllegalArgumentException("No directory names");
		}
		File f = null;
		for(String dn : directoryNames) {
			f = f == null ? new File(dn) : new File(f, dn);
		}
		return f;
	}