It does (I think), but even if it doesn't, it uses the file extension to determine it. However, EXE files are free to set their own icon. In this case, the icon of the EXE was a "PDF" icon.
The silly bit is the fact that the file extensions are hidden by default, and users can only use the icon to check the file type.
The silly bit is the fact that the file extensions are hidden by default, and users can only use the icon to check the file type.