changed timestamp reading to textreading.