add color field to demo
add read file function