overloaded method for writing text files
test for getting speed of verification of signatures in an XML document