test one thread ok.
two step to do:
1. multi thread test
2. mutex the upload file