WritePmsf function

Write a 'pmsf.txt' file