add prim file