Minor changes.
Read all data from file. Load new data every 10 heartbeats.