Updated file upload/download