Added function to save files and updated ToDO list