Splitting huge text files into parts