r=self adding mapper function to get Languages given extension