Added new functionality to todo.php to allow an option to create a new file or overwrite if it already exists