updated h5file import code so that it only takes the parameter file now