Handler for facts whose content is to be written to disk rather
        than stored in the database. We use it for all elements
        that contain the string 'Raw_' ('Raw_Header', 'Raw_Artifact', ...)

def cybox_RAW_ft_handler(self, enrichment, fact, attr_info, add_fact_kargs):
        """
        Handler for facts whose content is to be written to disk rather
        than stored in the database. We use it for all elements
        that contain the string 'Raw_' ('Raw_Header', 'Raw_Artifact', ...)
        """
        # get the value
        raw_value = add_fact_kargs['values'][0]

        if len(raw_value) >= RAW_DATA_TO_DB_FOR_LENGTH_LESS_THAN:
            # rewrite the argument for the creation of the fact: there are
            # no values to be added to the database
            (value_hash,storage_location) = write_large_value(raw_value,
                                                              dingos.DINGOS_LARGE_VALUE_DESTINATION)

            add_fact_kargs['values'] = [(value_hash,storage_location)]


        return True