program takes file from command line and prints it to the terminal