Add save_metrics file