close files at end
removed syso