code: public static void storeFilelistToProperties(final File output, final File input,
  		final String comments) throws IOException
  	{
  		final Properties prop = readFilelistToProperties(input);
  		try (final OutputStream out = StreamExtensions.getOutputStream(output, true))
  		{
  			prop.store(out, comments);
  		}
  		final OutputStream out = StreamExtensions.getOutputStream(output, true);
  		prop.store(out, comments);
  	}
docs: Stores a komma seperated file to a properties object. As key is the number from the counter.
  
  @param output
  the output
  @param input
  the input
  @param comments
  the comments
  @throws IOException
  Signals that an I/O exception has occurred.