modified writer and filer class
Merge pull request #4 from LuckyLcm/master

modified writer and filer classes