Adding option to read from file