add file transfer cancelation, but it with bugs