code: def _get_filename(self, path):
          
          match = re.search("[a-z]{2,3}_[A-Z]{2}", path)
  
          if match:
              start = match.start(0)
              filename = path[start:]
          else:
              filename = os.path.basename(path)
  
          return filename
docs: This function gets the base filename from the path, if a language code
          is present the filename will start from there.