public void close() {
        if (reporter != null) {
            reporter.report();
            reporter.close();
        }
        saveMetrics();
    }
Loads metrics from the file at the directory path

@param metricsRegistry
@param directoryPath
@return
@throws IOException
ache/src/main/java/achecrawler/util/MetricsManager.java