decode binary tree from file, use c++11 features