Close input streams after reading Stage Builder Xml files

While reading stage builder xml files, input streams are not closed properly. It is fixed