minor fix to example in documentation, to make example source code match real status. changed addLog to addFile, and data.toRotate to path
fix console.log of old and new paths in example code in readme
Merge pull request #1 from cesarpachon/master

minor fixes in documentation