But the main object of investigation being to bring home the offence to the offender the essential part of the duties of an investigating officer in this connection is, apart from arresting the offender, to collect all material necessary for establishing the accusation against the offender