Ref xsl transformations (try to fix huge memory usage #425)

ref xsl transformations (try to fix huge memory usage #425)
replace with deleteFile() util