Just to check, why did you remove the checking of the signature? This can be handy for HDF5 files that have a different extension.