added a check to ensure we have a path for the data files to be housed in.
when adding new metrics , this can otherwise fail