Now output works

Also was a problem with input file - the first entry had 2 spaces
not one and it was getting all in the way of the first one working
properly.