The correct option is B All
The word 'both' is used specifically to talk about two people / events / actions, which can definitely be discerned from the rest of the sentence. The word 'all', though is used to include every person / event / action, and unless the quantity of two is specified both will not be used. Thus, in the given sentence, Option A) - All is the correct answer, because there are more than two boxes. All the other options are inappropriate.