generic parallization that take stdin and output to stdout. For parsing