Added read from file feature in command line