Added function to upload file to server
Merge remote-tracking branch 'origin/master'