You use the extension on the end of the file to tell you the type of a file
The extension is the .whatever in the name of the file
5.1m questions
6.7m answers