updated makePlan to ignore blank lines and force utf-8