add reemit option to re-emit input files