Add Option to append custom line to each splitted file [Feature Request]

Adding an option to append a custom line to each splitted file would be great as it helps when splitting XML files by line.
For the opening tag the header function can be used. However, a comparable option is missing to add a closing tag to every splitted file (incl. the first splitted file, but not for the last splitted file).

Thank you for your suggestion.