elementary utlity functions for reading lattice QCD data written in the lime format