Hard Python Programs Using Files