moved ft.write into class, close #1
Merge pull request #12 from SwedishPensionsAgency/write

moved ft.write into class, close #1