Tests the file against some known filesystem files, magic bytes, and if a text file. It does provide some useful information sometimes.
$ file somefile.png
Prints SOME metadata about files
$ stat somefile.png
strings can be very useful when combined with grep. Particularly useful when searching binary files for strings.
$ strings somefile.png | grep somestring