Write any Property to File – Framework 

In his recent post @Impossible Siebel Jason show cased a function PSToStr which would convert any property set to string. I wrote a similar function long time back that would write any property set to file in similar fashion.

You can follow the details from here if interested http://siebelunleashed.com/framework-write-to-file/