Obj loader(binormal,tangent)

I'm going into glsl normal mapping/bump mapping and when i was learning Cg the obj loader extracted binormal and tangent data from the model and i'm new to this stuff but how would you go about getting the bi-normals and tangent data from a obj file.