code: public ConfigParseOptions setSyntaxFromFilename(String filename) {
          ConfigSyntax syntax = ConfigImplUtil.syntaxFromExtension(filename);
          return setSyntax(syntax);
      }
docs: Set the file format. If set to null, assume {@link ConfigSyntax#CONF}.
  
  @param filename
  a configuration file name
  @return options with the syntax set