feed word triplets from a file