fix bug of pull file with no content and add fuction <usage>