before changing type_dict
diff by file types added