e.g. for the above userinput, it will return this values in new textfile Mass Time Name Type 100.20 0.55 Ken Boy 223.45 1.22 John Boy 223.44 John Boy