Fix overriding data files when required in the metric definition.