Get an entry from the builder from its filename
The returned entry is owned by the builder and should not be freed manually.
Tree builder
Name of the entry
pointer to the entry; NULL if not found