The correct answer is letter B. The candidate can file a petition of nomination after the primary election, because the primary election is the meeting of party members in which it's decided who is the candidate of the upcoming election. So it's only possible for a candidate to file the petition after this decision is made by the members of the party.