add lock to get file name
Merge pull request #32 from bofeng-song/master

add lock to get file name