Remove unused import and add read_metrics file