updates flux code to use history files. It also checks to see if PV file was calculated using the smae kind of output, else skips that
updates flux code to use history files. It also checks to see if PV file was calculated using the smae kind of output, else skips that

dcherian/eddyshelf,dcherian/eddyshelf,dcherian/eddyshelf