can't get primary to write highscore to file