lambda create file and upload to s3