support basic reading and writing of question files and tree files

Ignore-this: 58e893eb005b00b78b86ee9200c23f05

darcs-hash:20141213224750-3a4db-105b22fc06a69cb983ddc51a532cdc65bf9ad6d3