add generating files functionality
Merge branch 'master' of https://github.com/calvinyu/WSE