_extractLocale(filePath) {
        const directory = path.dirname(filePath);
        return directory.slice(directory.lastIndexOf('/') + 1);
    }
Extracts the locale from the file path. Assumes the file structure is $LOCALE_ROOT/$LOCAL/$NAMESPACE.json
@param {string} filePath