121,126c121,133
<     for line in open(DONE_FILE).readlines():
<         if (line.strip() == ""): continue
<         count = count + 1
<         tasks[count] = line.rstrip()
<     return tasks
<     
---
>     try:
>         donefile = open(DONE_FILE)
>         for line in donefile.readlines():
>             if (line.strip() == ""): continue
>             count = count + 1
>             tasks[count] = line.rstrip()
>             return tasks
>     except IOError:
>         print "Impossible to open the file. The file probably doesn't exist yet."
>         sys.exit(2)
>     except:
>         print "BUG"
> 
261a269
>     """Adds the number of open todo's and closed done's to report.txt."""
