in reply to unable to parse different rows in array
In addition to what has already been said, if you have a tsv i.e., I assume, tab separated values), then you probably want to split on \t rather than \n.