SQS delete and filewrite implementations
Delete file function
File write function implementation