fix uploadFile interface