read in a mapping table read in an input file; replace some variable names with new ones (regex); write it to an input file;