Adding code for uploading file