begin to design a file tree data structure and binary encoding