lineage function

File lineage functions