still struggling with <> tag
<> issue solved. trailing whitespaces of tokens must be deleted by stripping them. line 210 in createInputFile_revised.