Added capability to upload files to server