If, after such hearing, the Secretary finds that the packer or swine contractor has violated or is violating any provisions of this subchapter covered by the charges, he shall make a report in writing in which he shall state his findings as to the facts, and shall issue and cause to be served on the packer or swine contractor an order requiring such packer or swine contractor to cease and desist from continuing such violation. The testimony taken at the hearing shall be reduced to writing and filed in the records of the Department of Agriculture. The Secretary may also assess a civil penalty of not more than $10,000 for each such violation. In determining the amount of the civil penalty to be assessed under this section, the Secretary shall consider the gravity of the offense, the size of the business involved, and the effect of the penalty on the person’s ability to continue in business. If, after the lapse of the period allowed for appeal or after the affirmance of such penalty, the person against whom the civil penalty is assessed fails to pay such penalty, the Secretary may refer the matter to the Attorney General who may recover such penalty by an action in the appropriate district court of the United States.