refactor code related to Certified User's Metrics and File Download Report Metric