Added splitting into a defined number of files. Reindexed record splitting to start numbering the new file at 0 instead of 1