I remember CHM files from their heyday on Windows, but I recently discovered some older ebook files were distributed as CHM. It was a pain to get calibre to convert them to epub, it needed some python library that didn't seem to work on the first go.