How to launch an IF game file
From IFWiki
Many IF games can be played in a web browser, but if you download the game file, you'll need a launcher app (also called an "interpreter").
Fastest option: Use the Gargoyle app, which will launch most text games.
Gargoyle for Windows Gargoyle for MacOS Gargoyle for Linux (?)