wanghao:fix bug issue-45,add the default file type