Fix files list for thread and message objects