Udates for actual spike encoding from file