methods to graph and work with h5 files