Refactored bpt.fullpath.cpp