modified how collects data from input files. Now takes fields from the end of the string. These are collected using cut after a reverse.