Clean up Document::UpdateInputData.
Fixed bug where file was restarted when checksum wasn't updated.