add possibility to read program from text file