Implemented UploadSingleFile and other functions. Tested.

Still the work in progress however file is getting uploaded.