new brachfile functions

2 functions added to branch file