Changes for getting the selected file and passing all file and IP into
new assync task to send the file