removed s3 writeData methods.