file close operation implemented. Editor is closed initially