add clearFile()
fix invokeBeforeExecute()
Merge branch 'develop'