code: public void writeToFile(File f) {
  		try (FileOutputStream fos = new FileOutputStream(f)) {
  			fos.write(write());
  		} catch (IOException e) {
  			e.printStackTrace();
  		}
  	}
docs: Writes the BDS to the given file.
  
  @param f The file to write the BDS to.
  @see BDS#loadFromFile(File)