title: Append a file in S3 using Lambda
body: <p>How can I create and append a file in S3 using a lambda function? Also I want to limit the file size to 5 MB, is it possible?</p>
  <p>Say, my lambda function searches for file, I want to keep a backup of the file searched. So I want to append the file whenever something is searched. If the file size increases above 5 MB I want to create a new file, which can be named according to the date and then start appending into it. How can I do that? I am using python/boto3. –</p>