Added consideration for binary files in command line and finished view
command