code: public static <T> StreamSorterStorageImpl<T> create(Executor executor,
  			BinarySerializer<T> serializer, Path path) {
  		checkArgument(!path.getFileName().toString().contains("%d"), "Filename should not contain '%d'");
  		try {
  			Files.createDirectories(path);
  		} catch (IOException e) {
  			throw new UncheckedIOException(e);
  		}
  		return new StreamSorterStorageImpl<>(executor, serializer, path);
  	}
docs: Creates a new storage
  
  @param executor   executor for running tasks in new thread
  @param serializer for serialization to bytes
  @param path       path in which will store received data