adepted conversationadapter to deal with files