Todo application using both file operation and database