implement uploadFile interface, need to finish...