Default Pedometer/S Health Data?

I am hoping to write my own pedometer widget (similar to the default S Health one, but without that picture of a shoe...).
Does anyone know where the pedometer data is stored?

I found what looked like some S Health data in a folder called "mylog," but each file in there was blank, and the filenames were dates, but not very recent ones.