code: private String getSuffix(String fileName) {
  
          int index = fileName.lastIndexOf(".");
          if (index > 0) {
              return fileName.substring(index);
          } else {
              return fileName;
          }
      }
docs: Returns the file suffix.<p>
  
  @param fileName the file name
  
  @return the suffix