Writes the files of one kind of formats entry.
formats
The extensions of the files one group gets, without a dot.
Writes group into files, one for each of extensions and in their order.