revert input file changes