I have coded my program to deal with .txt files missing.