Object.keys(files).forEach((file, i) => {
      const data = files[file];

      if (typeof data.path === `string`)
        data.path = helpers.getNormalizedPath(helpers.getLocalizedPath(data.path, currentLocale, locales));

      if (data.pagination)
        data.pagination.pages.forEach(val => val.path = helpers.getNormalizedPath(helpers.getLocalizedPath(val.path, currentLocale, locales)));
    });
 data.pagination.pages.forEach(val => val.path = helpers.getNormalizedPath(helpers.getLocalizedPath(val.path, currentLocale, locales)));