public void makeDirectory(String name, Path currentDirectory) {
		Path path = null;
		boolean succeeded = false;
		try {
			path = Paths.get(name);
			if (path.isAbsolute()) {
				Files.createDirectories(path);
				succeeded = true;			
			}
		} catch (IOException ioException) {
			if (Constants.DEBUG)
				System.out.format("Creation of directory %s failed: %s!%n",(path!=null)?path.toString():name,ioException.getMessage());
		}
		if (!succeeded) {
			try {
				path = Paths.get(currentDirectory+"/"+name);
				if (path.isAbsolute()) {
					Files.createDirectories(path);
					succeeded = true;					
				}
			} catch (IOException ioException) {
				if (Constants.DEBUG)
					System.out.format("Creation of directory %s failed: %s!%n",(path!=null)?path.toString():name,ioException.getMessage());
			}			
		}
	}