code: public final void saveToFile(Media media)
      {
          try (FileWriting writing = new FileWriting(media))
          {
              saving(writing);
          }
          catch (final IOException exception)
          {
              throw new LionEngineException(exception, media, "Error on saving to file !");
          }
      }
docs: Save world to the specified file.
  
  @param media The output media.
  @throws LionEngineException If error on saving to file.