change template extension(.c -> .txt)
add expand cancel