Added a way to recover from a corrupt file and the overdue command