code: public static void write(FeatureList features, String filename) throws IOException {
  		logger.info("Writing: {}", filename);
  
  		BufferedWriter bw = new BufferedWriter(new FileWriter(filename));
  
  		ListIterator<FeatureI> iter = features.listIterator();
  		while (iter.hasNext()) {
  			Feature feature = (Feature) iter.next();
  			writeLine(feature, bw);
  		}
  
  		bw.close();
  	}
docs: Write features in FeatureList to file. Each Feature becomes one line in the file.
  The userMap() data in the features is not written to file.
  
  @param features The list of features to write.
  @param filename The path to the file.
  @throws IOException Something went wrong -- check exception detail message.