Fixed writeContestantFile