def METHOD_NAME(cores_map: str, component: str, max_age: int, dest_dir: str):
    cores_map = json.loads(cores_map)
    logger.info("processing cores on component {}".format(component))
    c = ComponentCores(cores_map, component, max_age, dest_dir)
    c.process_cores()