Split large file and add header and footer to each file

I have one large file, after every 200 line i have to split the file and the add header and footer to each small file?
It is possible to add different header and footer to each file?

Double post or bump up questions is not allowed, please read the:

Continu here:

Thread closed.