changed getting file from s3 block