But .txt is not the same as .rs; yet .txt is not the same as .docx, although both of these files look the same to the human eye.

    • caseyweederman@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      Sometimes you can just unzip a .exe file and it’s got a bunch of smaller files inside
      Also Java’s .jar files are literally just .zip files with a different name
      Lots of video files are just a group of files smashed together pretending to be one single file. Like video, audio, subtitles, a little text file with some descriptive info in it…

    • DisguisedJoker@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      Try renaming a docx file extension to zip. Then open the file, you’ll see that there are other files (mostly XML) inside. The docx is a container.