It reads data from files, it may be used to do privileged reads or disclose files outside a restricted file system.
Read an arbitrary file by specifying it as a magic file. This will result in errors containing the lines of the file. The argument parsing done by file also means this can be specified as a single argument.
file -m/etc/passwd