add another missing const to readRecordingFromRecFile