extract hist detail from data file
compressed store
staticical hist data
export to json and csv file