Purification, characterization and thermostability improvement of xylanase from Bacillus amyloliquefaciens and its application in pre-bleaching of kraft pulp