adding file updates, still working on the snippets to replace chat.fetch helper