uploading and downloading work,but path needs to be fixed