Under the District Court's interpretation of section 145, "all the expenses of the proceedings" simply referred to the expenses incurred in preparing for the case, such as printing documents, travel costs, and reasonable fees paid to expert witnesses.