Add strings grouping in output file

An option has been added which allows user to insert an empty string
after a set of N strings in output file.