docs: public static String getBasename0(final String pFileName) {
          int index = pFileName.lastIndexOf('.');
  
          if (index >= 0) {
              return pFileName.substring(0, index);
          }
  
          // No period found
          return pFileName;
      }