in reply to Understanding File Type
I suppose you work on M$ Windows platform.
Windows work with file extension... I don't
know an answer, but you can watch this link
http://gnuwin32.sourceforge.net/packages/file.htm
However, with GNU/Linux (I suppose in all Unix-like), you can
write in shell
file namefile
and you get information with file, also MS Windows file.