function to decide how to process 
        the raw data (which can be any format).
        Note - not 100% sure how this will be implemented
        should we pass the filename (currently takes a line)

def identify_data(self, tpe, raw_data):
        """
        function to decide how to process 
        the raw data (which can be any format).
        Note - not 100% sure how this will be implemented
        should we pass the filename (currently takes a line)
        """
        num_applicable_rules = 0
        formatted_data = self.format_raw_data(tpe, raw_data)
        for m in self.maps:
            if m.tpe == tpe:
                num_applicable_rules += 1
                self.process_rule(m, formatted_data, tpe)
        return num_applicable_rules