onc a docuemtnt is saved, it is not not needed to be processed. hence commenting the necessary lines.