You need to open the file with a text editor. Instead of double-clicking on the file, try right-click > "open file with"
Any text editor will work (for instance Notepad), but I recommend VS Code (https://code.visualstudio.com/) or Atom (https://atom.io/).