code: public static String removeExtension(String file)
      {
          Check.notNull(file);
  
          final int extensionBegin = file.lastIndexOf(Constant.DOT);
          if (extensionBegin > 0)
          {
              return file.substring(0, extensionBegin);
          }
          return file;
      }
docs: Get the file name without its extension.
  <p>
  Using <code>"image.png"</code> as argument returns <code>"image"</code>.
  </p>
  
  @param file The file name (must not be <code>null</code>).
  @return The file name without its extension.
  @throws LionEngineException If invalid arguments.