I want to print out the number of sub strings (length of array created) when splitting a file but when i run the below code, a bunch of 0\'s and 1\'s print out instead of a