Using `chomp` to extract locales from file names.