Perhaps closer to what you're after?

Added the option for the --home to send the todo to the users home directory.  Otherwise, it goes in the current directory.  Since that changes the way the parser works I added a few lines so unnecessary information isn't written into the todo list.