Thanks to Allen Clark Copeland Jr.
The SplitFile function opens a file and determines the needed number of split files and number of bytes per file. It saves each file seperately and makes a template file describing the input file.
The ReassembleFile function uses the template to reverse the process.
See the code for details.