add more console msg for better closing
handle real file transfer. not workable