If you can provide your tree structure than it would be much easier to explain you.
But still I give a try.
for example this is you tree structure.
grandparent/parent/child/yourCfile.c then you must find your header file at this PATH grandparent/Host/myfile/header.h .