Changed file splitter to use constants, returnchunk method poulated