refactor File Handling in Conversation
fix