hfTree can input and output by file, but have some BUG
Complete. hfTree can getData and getCode