in reply to Problem with program

If things went weird after a power-failure then what probably happened is that the filesystem on the disk is bonkers and hasn't been repaired and therefore by now is probably far worse.