add inferGHGlySubstr,optimizedbracket functions files