Added logic of uploading and downloading the files from amazon cloud