Isolated hdf5 parsing code from handler.clj