code: void createDirectory(Path path) throws IOException {
  		if (Files.exists(path) && Files.isDirectory(path)) {
  			return;
  		}
  
  		if (this.readOnly) {
  			throw new FileNotFoundException(
  					"The requested directory \""
  							+ path.toString()
  							+ "\" does not exist and we are in read-only mode, so it cannot be created.");
  		}
  
  		Files.createDirectory(path);
  	}
docs: Creates a directory at the given path if it does not exist yet and if the
  directory manager was not configured for read-only access.
  
  @param path
  @throws IOException
  if it was not possible to create a directory at the given
  path