add assert of tail-targetfile is exist or not.
path fixed.
Merge branch 'dev'