get file type of file in command line code example Example: commandline print file type file filename