Early iterations of the history.Chat API included support for allowing local files to be added directly to chat history instances by implicitly generating and caching file handles. This was ultimately removed as being overly confusing (5aeb367), but it would be good to adapt that old concept into a more explicit file handle caching helper at the [Async]Client instance level.