def METHOD_NAME(dump_file_to_parse):
    with open(dump_file_to_parse, 'rb') as file_to_parse:
        metrics = InitMetrics()
        decisions = InitDecisions()
        first_time_stamp = None
        while True:
            event = GetNextMessageFromFile(file_to_parse)
            if event is None:
                break
            if first_time_stamp is None:
                first_time_stamp = event.timestamp
            if event.type == debug_dump_pb2.Event.ENCODER_RUNTIME_CONFIG:
                for decision in event.encoder_runtime_config.DESCRIPTOR.fields:
                    if event.encoder_runtime_config.HasField(decision.name):
                        decisions[decision.name]['time'].append(
                            event.timestamp - first_time_stamp)
                        decisions[decision.name]['value'].append(
                            getattr(event.encoder_runtime_config,
                                    decision.name))
            if event.type == debug_dump_pb2.Event.NETWORK_METRICS:
                for metric in event.network_metrics.DESCRIPTOR.fields:
                    if event.network_metrics.HasField(metric.name):
                        metrics[metric.name]['time'].append(event.timestamp -
                                                            first_time_stamp)
                        metrics[metric.name]['value'].append(
                            getattr(event.network_metrics, metric.name))
    return (metrics, decisions)