code: public static String stripExt(final String aFileName) {
          final int index = aFileName.lastIndexOf(DOT);
  
          if (index != -1) {
              return aFileName.substring(0, index);
          }
  
          return aFileName;
      }
docs: Return a file name without the dot extension.
  
  @param aFileName The file name from which we want to strip the extension
  @return The file name without the extension