Fixed SSM file reader.