def METHOD_NAME(self, obj, dynamic_dir, objtype, want_tool=None):
    my_target_dir = os.path.join(dynamic_dir, objtype)
    if not os.path.exists(my_target_dir):
        os.makedirs(my_target_dir)
    written = False
    for tool in obj.config_files:
        if not want_tool or want_tool == tool:
            for file in obj.config_files[tool]:
                content = obj.config_files[tool][file]
                my_target_file = os.path.join(my_target_dir, file)
                write_me = True
                if self.delta_watch:
                    if os.path.exists(my_target_file):
                        if zlib.adler32(open(my_target_file, 'rb').read()) == zlib.adler32(content):
                            write_me = False
                if write_me:
                    with open(my_target_file+'_coshshtmp', "w") as f:
                        f.write(content)
                        os.fsync(f)
                    os.rename(my_target_file+'_coshshtmp', my_target_file)
                    written = True
    return written