Don't we have any helper to handle a proper close for files ? like ```LdapUptils``` for LDAP accesses...