Creates a huffman tree from a given file