add file transfer but with some bugs (file must less than 1kb)