Chavez agreed to arm rebels, files indicate