can now read from file and print out