Remove unnecessary console.log
Add validation of filename
[sync] 0.5.1.1