Would it be possible to enable this?:
h5file <- rhdf5::H5Fopen("path/to/my.hdf5")
HDF5Array::HDF5Array(h5file, "my_array")
At the moment we internally pass around the file handle and starting to use {HDF5Array} would require refactoring to pass the path instead and open/close the file every time we read/write something.