bfs header file