added some code to read in source info from HDF5 source file