Any incorporated city, town, village or other municipality may by ordinance require that the driver of a vehicle involved in an accident shall file with a designated city department a report of such accident. All such reports shall be for the confidential use of the city department.