Replaced processing as of IO instance to of String instance