Code for reading smr files from Spike2