always create a new file to write
log file name end with .txt
save log on each step
file name ends with .txt
Merge pull request #1 from fuqcool/master

fuqcool made some changes to the behaviour. Please pull it!