The mayor or board of aldermen shall have power, as often as he or they may deem it necessary, to require any officer of the city to exhibit his accounts or other papers or records, and to make report to the board of aldermen, in writing, touching any matter relating to his office.