fix work dir error , change diff-files-path,
a little refactaring.