Fix typo
Add log retrieval/deletion functions
Let users attach chat logs as event material
Let tempfile handle the deletion of the temp file