code: public Configuration create(File file) {
          try {
              Configuration configuration;
              InputStream stream = new BufferedInputStream(new FileInputStream(file));
              try {
                  configuration = create(stream);
              } finally {
                  stream.close();
              }
              return configuration;
          } catch (IOException e) {
              throw new TextProcessorFactoryException(e);
          }
      }
docs: Create the bb-code processor from file with XML-configuration.
  
  @param file file with configuration
  @return bb-code processor
  @throws TextProcessorFactoryException any problems