uploadFile Method

Made fixes to the uploadFile method in the SendFile activity